#CD004D

Closest named color: Ruby (#CA0147). oklch(54.1% 0.216 11.8), rgb(205, 0, 77).

Aa

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

About this color

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

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

Values

HEX#CD004D
RGBrgb(205, 0, 77)
HSLhsl(337, 100%, 40%)
OKLCHoklch(54.1% 0.216 11.8)

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 #CD004D 5.67:1 AA Lc -81.0 Fine for body text
Black text on #CD004D 3.70:1 AA large text Lc 28.4 Dividers and decoration only
#CD004D text on white 5.67:1 AA Lc 75.7 Fine for body text
#CD004D text on black 3.70:1 AA large text Lc -26.1 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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE3E5

    oklch(93.7% 0.028 12.1)

  3. Step 200

    200

    #FBCBD0

    oklch(88.5% 0.055 11.2)

  4. Step 300

    300

    #F8A7B0

    oklch(80.9% 0.096 12.1)

  5. Step 400

    400

    #F07287

    oklch(70.6% 0.156 11.5)

  6. Step 500

    500

    #E74469

    oklch(63% 0.199 11.8)

  7. Step 600

    600 (this color)

    #CD004D

    oklch(54.1% 0.216 11.8)

  8. Step 700

    700

    #B40043

    oklch(49.1% 0.196 11.6)

  9. Step 800

    800

    #930736

    oklch(42.6% 0.166 11.8)

  10. Step 900

    900

    #76162F

    oklch(37.6% 0.13 11.6)

  11. Step 950

    950

    #46101C

    oklch(27% 0.082 11.5)

Export this scale for Tailwind in the Tailwind colors tool

#CD004D 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)#4F4F4E0.245
Deuteranopia (no green cones)#7E74480.221
Tritanopia (no blue cones)#E1002C0.059
Achromatopsia (no color)#6767670.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD004D

    #CD004D

    oklch(54.1% 0.216 11.8)

  • #00807D

    #00807D

    oklch(54.2% 0.093 191.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD004D

    #CD004D

    oklch(54.1% 0.216 11.8)

  • #BA1D92

    #BA1D92

    oklch(54.1% 0.216 341.5)

  • #B94400

    #B94400

    oklch(54.2% 0.164 41.9)

Open the analogous palette in the generator

Split complementary

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

  • #CD004D

    #CD004D

    oklch(54.1% 0.216 11.8)

  • #008459

    #008459

    oklch(54.2% 0.119 161.8)

  • #007B98

    #007B98

    oklch(54% 0.1 221.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD004D

    #CD004D

    oklch(54.1% 0.216 11.8)

  • #4D8000

    #4D8000

    oklch(54.2% 0.15 131.8)

  • #0070C8

    #0070C8

    oklch(54.1% 0.16 251.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD004D

    #CD004D

    oklch(54.1% 0.216 11.8)

  • #7D7000

    #7D7000

    oklch(54% 0.113 101.3)

  • #00807D

    #00807D

    oklch(54.2% 0.093 191.9)

  • #6250E6

    #6250E6

    oklch(54% 0.217 281.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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