#CB5040

Closest named color: Dark Coral (#CF524E). oklch(59.1% 0.16 30), rgb(203, 80, 64).

Aa

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

About this color

#CB5040 is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.160 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Coral (#CF524E), ΔE 0.018 away. Black text reads best on it, at 4.76:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameDark Coral (#CF524E)
Black text4.76:1
White text4.41:1

Values

HEX#CB5040
RGBrgb(203, 80, 64)
HSLhsl(7, 57%, 52%)
OKLCHoklch(59.1% 0.16 30)

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 #CB5040 4.41:1 AA large text Lc -75.3 Fine for body text
Black text on #CB5040 4.76:1 AA Lc 34.3 Non-text elements, placeholder text
#CB5040 text on white 4.41:1 AA large text Lc 69.8 Content text, not long reading
#CB5040 text on black 4.76:1 AA Lc -31.9 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 600.

  1. Step 50

    50

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F8E5E2

    oklch(93.6% 0.021 28.3)

  3. Step 200

    200

    #F3D0CA

    oklch(88.6% 0.04 29.4)

  4. Step 300

    300

    #EBB0A5

    oklch(80.9% 0.071 30.7)

  5. Step 400

    400

    #DF8475

    oklch(70.7% 0.115 30.2)

  6. Step 500

    500

    #D36252

    oklch(63.1% 0.146 29.9)

  7. Step 600

    600 (this color)

    #CB5040

    oklch(59.1% 0.16 30)

  8. Step 700

    700

    #A43528

    oklch(49% 0.149 30)

  9. Step 800

    800

    #852D22

    oklch(42.6% 0.123 30.1)

  10. Step 900

    900

    #6B2A21

    oklch(37.7% 0.095 30.1)

  11. Step 950

    950

    #3F1914

    oklch(26.9% 0.061 29.3)

Export this scale for Tailwind in the Tailwind colors tool

#CB5040 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)#71673E0.166
Deuteranopia (no green cones)#8F823D0.153
Tritanopia (no blue cones)#DF354D0.057
Achromatopsia (no color)#7878780.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB5040

    #CB5040

    oklch(59.1% 0.16 30)

  • #008E9F

    #008E9F

    oklch(59.2% 0.102 209.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB5040

    #CB5040

    oklch(59.1% 0.16 30)

  • #C54C7A

    #C54C7A

    oklch(59% 0.16 359.6)

  • #B86600

    #B86600

    oklch(59.2% 0.139 60)

Open the analogous palette in the generator

Split complementary

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

  • #CB5040

    #CB5040

    oklch(59.1% 0.16 30)

  • #009280

    #009280

    oklch(59.1% 0.107 180)

  • #0086C5

    #0086C5

    oklch(59.1% 0.135 239.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB5040

    #CB5040

    oklch(59.1% 0.16 30)

  • #0C9746

    #0C9746

    oklch(59.2% 0.16 150)

  • #5974DC

    #5974DC

    oklch(59.1% 0.161 269.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB5040

    #CB5040

    oklch(59.1% 0.16 30)

  • #748900

    #748900

    oklch(59.2% 0.14 119.9)

  • #008E9F

    #008E9F

    oklch(59.2% 0.102 209.5)

  • #8D63CD

    #8D63CD

    oklch(59.1% 0.159 299.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #CB5040 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.