Inspect Peru (#CD853F) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
Peru
#CD853F
Black text reads best on this background, at 7.02:1.
Peru is one of the 148 CSS named colors, and resolves to #CD853F in every browser. In numbers that is rgb(205, 133, 63) and hsl(30, 59%, 53%). Perceptually it is a mid-toned, moderately saturated color: OKLCH puts its lightness at 68% and its chroma at 0.123. It sits in the browns at 62 degrees of OKLCH hue, and reads as a warm color.
White text only reaches 2.99:1 here, so black text is the safer pairing at 7.02:1. That combination of lightness and chroma makes it a workable mid-tone, the kind of value that lands in the middle of a shade scale.
The closest CSS named colors to Peru, measured with CIEDE2000, are Chocolate (#D2691E), SandyBrown (#F4A460), DarkOrange (#FF8C00). If Peru is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#CD853F
RGB
rgb(205, 133, 63)
HSL
hsl(30, 59%, 53%)
HWB
hwb(30 25% 20%)
CMYK
cmyk(0%, 35%, 69%, 20%)
LAB
lab(62.25 23.95 48.41)
LCH
lch(62.25 54.01 63.68)
OKLCH
oklch(67.82% 0.1227 62.18)
WCAG asks for 4.5:1 between body text and its background. On #CD853F white text measures 2.99:1 and black text 7.02:1, so black clears it and white does not.
White text on Peru
WCAG 2.2
2.99:1
APCA
Lc 61
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on Peru
WCAG 2.2
7.02:1
APCA
Lc 47
Passes AA body text
Passes AAA body text
Passes AA large text
Check Peru against any other color in the contrast checker.
Peru sits at 68% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF7F0 and down to #0D0400, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#E19853
20% lighter
#F6AB66
40% lighter
#FFC38E
60% lighter
#FFDDC1
80% lighter
#FFF7F0
100% lighter
#A86315
20% darker
#7F4700
40% darker
#552E00
60% darker
#2F1600
80% darker
#0D0400
100% darker
Build a full accessible scale from #CD853F in the shade generator.
Hues rotated around #CD853F in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.
Peru sits at 62 degrees. Rotating it a half turn lands on 242 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.
The neighbors of Peru at 32 and 92 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
62, 182 and 302 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.
Instead of the complement at 242 degrees, this pair flanks it at 212 and 272. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around Peru on the color wheel.
The biggest shift is under achromatopsia, where #CD853F reads as #8F8F8F, 24.4 CIEDE2000 units away. If Peru is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#9E863B
Deuteranopia
#AF9640
Tritanopia
#EC7570
Achromatopsia
#8F8F8F
The nearest CSS keywords to #CD853F, ranked by perceptual distance rather than by how close their hex digits happen to look.