#CD0042

Closest named color: Ruby (#CA0147). oklch(53.9% 0.216 15.7), rgb(205, 0, 66).

Aa

White text reads best on this color (5.71:1).

About this color

#CD0042 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.216 and its hue 16°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.009 away. White text reads best on it, at 5.71:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.216)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.67:1
White text5.71:1

Values

HEX#CD0042
RGBrgb(205, 0, 66)
HSLhsl(341, 100%, 40%)
OKLCHoklch(53.9% 0.216 15.7)

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 #CD0042 5.71:1 AA Lc -81.2 Fine for body text
Black text on #CD0042 3.67:1 AA large text Lc 28.2 Dividers and decoration only
#CD0042 text on white 5.71:1 AA Lc 75.9 Fine for body text
#CD0042 text on black 3.67:1 AA large text Lc -25.9 Dividers and decoration only

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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E4

    oklch(93.6% 0.028 14.9)

  3. Step 200

    200

    #FBCBCD

    oklch(88.4% 0.055 15.4)

  4. Step 300

    300

    #F9A7AC

    oklch(81% 0.097 15.4)

  5. Step 400

    400

    #F17380

    oklch(70.7% 0.155 15.5)

  6. Step 500

    500

    #E84560

    oklch(63.1% 0.199 15.6)

  7. Step 600

    600 (this color)

    #CD0042

    oklch(53.9% 0.216 15.7)

  8. Step 700

    700

    #B50039

    oklch(49.1% 0.196 15.7)

  9. Step 800

    800

    #94082F

    oklch(42.7% 0.166 15.6)

  10. Step 900

    900

    #77172A

    oklch(37.7% 0.129 15.4)

  11. Step 950

    950

    #461019

    oklch(27% 0.082 15)

Export this scale for Tailwind in the Tailwind colors tool

#CD0042 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)#514E420.242
Deuteranopia (no green cones)#7F743C0.220
Tritanopia (no blue cones)#E200260.054
Achromatopsia (no color)#6666660.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD0042

    #CD0042

    oklch(53.9% 0.216 15.7)

  • #007F7F

    #007F7F

    oklch(54% 0.092 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD0042

    #CD0042

    oklch(53.9% 0.216 15.7)

  • #BD1989

    #BD1989

    oklch(54% 0.216 345.6)

  • #B24A00

    #B24A00

    oklch(53.9% 0.152 45.9)

Open the analogous palette in the generator

Split complementary

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

  • #CD0042

    #CD0042

    oklch(53.9% 0.216 15.7)

  • #00825F

    #00825F

    oklch(53.8% 0.112 166.1)

  • #007A9B

    #007A9B

    oklch(53.9% 0.102 225.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD0042

    #CD0042

    oklch(53.9% 0.216 15.7)

  • #3F8100

    #3F8100

    oklch(53.8% 0.159 135.6)

  • #006BD4

    #006BD4

    oklch(53.9% 0.181 255.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD0042

    #CD0042

    oklch(53.9% 0.216 15.7)

  • #787100

    #787100

    oklch(53.8% 0.114 105.3)

  • #007F7F

    #007F7F

    oklch(54% 0.092 194.8)

  • #6A4DE3

    #6A4DE3

    oklch(54% 0.216 285.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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