#CD0048

Closest named color: Ruby (#CA0147). oklch(54% 0.216 13.6), rgb(205, 0, 72).

Aa

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

About this color

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

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

Values

HEX#CD0048
RGBrgb(205, 0, 72)
HSLhsl(339, 100%, 40%)
OKLCHoklch(54% 0.216 13.6)

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 #CD0048 5.69:1 AA Lc -81.1 Fine for body text
Black text on #CD0048 3.68:1 AA large text Lc 28.3 Dividers and decoration only
#CD0048 text on white 5.69:1 AA Lc 75.8 Fine for body text
#CD0048 text on black 3.68:1 AA large text Lc -26.0 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

    #FCE3E4

    oklch(93.6% 0.028 14.9)

  3. Step 200

    200

    #FBCBCF

    oklch(88.5% 0.055 12.6)

  4. Step 300

    300

    #F9A7AE

    oklch(81% 0.097 13.9)

  5. Step 400

    400

    #F17384

    oklch(70.8% 0.155 13.5)

  6. Step 500

    500

    #E84565

    oklch(63.2% 0.199 13.7)

  7. Step 600

    600 (this color)

    #CD0048

    oklch(54% 0.216 13.6)

  8. Step 700

    700

    #B4003E

    oklch(49% 0.196 13.6)

  9. Step 800

    800

    #940833

    oklch(42.8% 0.166 13.6)

  10. Step 900

    900

    #77172D

    oklch(37.8% 0.13 13.4)

  11. Step 950

    950

    #46101A

    oklch(27% 0.082 13.8)

Export this scale for Tailwind in the Tailwind colors tool

#CD0048 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)#504E490.243
Deuteranopia (no green cones)#7E74430.221
Tritanopia (no blue cones)#E100290.056
Achromatopsia (no color)#6767670.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD0048

    #CD0048

    oklch(54% 0.216 13.6)

  • #007F7E

    #007F7E

    oklch(54% 0.092 193.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD0048

    #CD0048

    oklch(54% 0.216 13.6)

  • #BB1B8E

    #BB1B8E

    oklch(53.9% 0.216 343.2)

  • #B64700

    #B64700

    oklch(54.1% 0.158 43.7)

Open the analogous palette in the generator

Split complementary

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

  • #CD0048

    #CD0048

    oklch(54% 0.216 13.6)

  • #00835C

    #00835C

    oklch(54% 0.115 163.8)

  • #007B9A

    #007B9A

    oklch(54.1% 0.101 223.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD0048

    #CD0048

    oklch(54% 0.216 13.6)

  • #478000

    #478000

    oklch(53.9% 0.153 133.5)

  • #006ECD

    #006ECD

    oklch(54% 0.169 253.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD0048

    #CD0048

    oklch(54% 0.216 13.6)

  • #7B7100

    #7B7100

    oklch(54.1% 0.114 103.4)

  • #007F7E

    #007F7E

    oklch(54% 0.092 193.8)

  • #664FE4

    #664FE4

    oklch(54% 0.215 283.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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