#CA7F2A

Closest named color: Peru (#CD853F). oklch(66.2% 0.133 64.3), rgb(202, 127, 42).

Aa

Black text reads best on this color (6.58:1).

About this color

#CA7F2A is a medium-light, moderately saturated orange. In OKLCH its lightness is 66%, its chroma 0.133 and its hue 64°. Its hue sits on the warm side of the wheel. The nearest named color is Peru (#CD853F), ΔE 0.020 away. Black text reads best on it, at 6.58:1.

Hue familyOranges
Lightnessmedium-light (66%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest namePeru (#CD853F)
Black text6.58:1
White text3.19:1

Values

HEX#CA7F2A
RGBrgb(202, 127, 42)
HSLhsl(32, 66%, 48%)
OKLCHoklch(66.2% 0.133 64.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #CA7F2A 3.19:1 AA large text Lc -64.2 Content text, not long reading
Black text on #CA7F2A 6.58:1 AA Lc 45.3 Large or bold text, headings
#CA7F2A text on white 3.19:1 AA large text Lc 58.8 Large or bold text, headings
#CA7F2A text on black 6.58:1 AA Lc -43.0 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #FAF4F0

    oklch(97.1% 0.008 56.3)

  2. Step 100

    100

    #F3E8DD

    oklch(93.7% 0.019 67.6)

  3. Step 200

    200

    #EBD5C1

    oklch(88.6% 0.036 64.6)

  4. Step 300

    300

    #DFB895

    oklch(80.8% 0.065 63.6)

  5. Step 400

    400

    #CE9258

    oklch(70.7% 0.104 63.8)

  6. Step 500

    500 (this color)

    #CA7F2A

    oklch(66.2% 0.133 64.3)

  7. Step 600

    600

    #A56100

    oklch(55.7% 0.126 64.5)

  8. Step 700

    700

    #8B5100

    oklch(49.2% 0.111 64.6)

  9. Step 800

    800

    #724200

    oklch(42.7% 0.096 65.1)

  10. Step 900

    900

    #603600

    oklch(37.7% 0.085 64.2)

  11. Step 950

    950

    #392005

    oklch(27.1% 0.055 63.8)

Export this scale for Tailwind in the Tailwind colors tool

#CA7F2A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#97861C0.089
Deuteranopia (no green cones)#A9972B0.079
Tritanopia (no blue cones)#DD6E6E0.100
Achromatopsia (no color)#9090900.133

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #CA7F2A

    #CA7F2A

    oklch(66.2% 0.133 64.3)

  • #3E9ADE

    #3E9ADE

    oklch(66.2% 0.133 244.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7F2A

    #CA7F2A

    oklch(66.2% 0.133 64.3)

  • #D7725A

    #D7725A

    oklch(66.2% 0.132 34.5)

  • #AD900E

    #AD900E

    oklch(66.1% 0.133 94.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #CA7F2A

    #CA7F2A

    oklch(66.2% 0.133 64.3)

  • #00A4BE

    #00A4BE

    oklch(66.1% 0.116 214.3)

  • #7A8BE3

    #7A8BE3

    oklch(66.2% 0.132 274)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7F2A

    #CA7F2A

    oklch(66.2% 0.133 64.3)

  • #00A99B

    #00A99B

    oklch(66% 0.117 184.5)

  • #A57CD4

    #A57CD4

    oklch(66.1% 0.133 304.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7F2A

    #CA7F2A

    oklch(66.2% 0.133 64.3)

  • #42AA6D

    #42AA6D

    oklch(66.2% 0.133 154.5)

  • #3E9ADE

    #3E9ADE

    oklch(66.2% 0.133 244.3)

  • #C371B4

    #C371B4

    oklch(66.1% 0.134 334)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CA7F2A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #CA7F2A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.