#CD1F5F

Closest named color: Dark Hot Pink (#D90166). oklch(55.6% 0.207 6.7), rgb(205, 31, 95).

Aa

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

About this color

#CD1F5F is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.207 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.027 away. White text reads best on it, at 5.30:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.207)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text3.95:1
White text5.30:1

Values

HEX#CD1F5F
RGBrgb(205, 31, 95)
HSLhsl(338, 74%, 46%)
OKLCHoklch(55.6% 0.207 6.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 #CD1F5F 5.30:1 AA Lc -79.9 Fine for body text
Black text on #CD1F5F 3.95:1 AA large text Lc 29.5 Dividers and decoration only
#CD1F5F text on white 5.30:1 AA Lc 74.5 Content text, not long reading
#CD1F5F text on black 3.95:1 AA large text Lc -27.2 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F9CCD3

    oklch(88.6% 0.052 7.7)

  4. Step 300

    300

    #F5A8B7

    oklch(81% 0.092 6.5)

  5. Step 400

    400

    #EC7591

    oklch(70.7% 0.149 6.8)

  6. Step 500

    500

    #E24A76

    oklch(63.2% 0.19 6.9)

  7. Step 600

    600 (this color)

    #CD1F5F

    oklch(55.6% 0.207 6.7)

  8. Step 700

    700

    #B10A4E

    oklch(49.1% 0.192 6.9)

  9. Step 800

    800

    #901240

    oklch(42.8% 0.159 6.9)

  10. Step 900

    900

    #741A37

    oklch(37.8% 0.125 6.4)

  11. Step 950

    950

    #441220

    oklch(27% 0.078 6.9)

Export this scale for Tailwind in the Tailwind colors tool

#CD1F5F 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)#5256600.234
Deuteranopia (no green cones)#7E775B0.211
Tritanopia (no blue cones)#E0003D0.056
Achromatopsia (no color)#6B6B6B0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD1F5F

    #CD1F5F

    oklch(55.6% 0.207 6.7)

  • #00857C

    #00857C

    oklch(55.5% 0.097 186.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD1F5F

    #CD1F5F

    oklch(55.6% 0.207 6.7)

  • #B8309F

    #B8309F

    oklch(55.6% 0.207 336.6)

  • #C83900

    #C83900

    oklch(55.5% 0.187 36.6)

Open the analogous palette in the generator

Split complementary

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

  • #CD1F5F

    #CD1F5F

    oklch(55.6% 0.207 6.7)

  • #008952

    #008952

    oklch(55.4% 0.132 156.9)

  • #008199

    #008199

    oklch(55.6% 0.099 216.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD1F5F

    #CD1F5F

    oklch(55.6% 0.207 6.7)

  • #5D8100

    #5D8100

    oklch(55.5% 0.142 126.6)

  • #0078C2

    #0078C2

    oklch(55.6% 0.145 246.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD1F5F

    #CD1F5F

    oklch(55.6% 0.207 6.7)

  • #877200

    #877200

    oklch(55.5% 0.114 96.2)

  • #00857C

    #00857C

    oklch(55.5% 0.097 186.5)

  • #5A5CE8

    #5A5CE8

    oklch(55.5% 0.207 276.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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