#CF004A

Closest named color: Ruby (#CA0147). oklch(54.4% 0.217 13.1), rgb(207, 0, 74).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.75:1
White text5.59:1

Values

HEX#CF004A
RGBrgb(207, 0, 74)
HSLhsl(339, 100%, 41%)
OKLCHoklch(54.4% 0.217 13.1)

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 #CF004A 5.59:1 AA Lc -80.6 Fine for body text
Black text on #CF004A 3.75:1 AA large text Lc 28.8 Dividers and decoration only
#CF004A text on white 5.59:1 AA Lc 75.3 Fine for body text
#CF004A text on black 3.75:1 AA large text Lc -26.5 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

    #F9A6AE

    oklch(80.8% 0.099 13.2)

  5. Step 400

    400

    #F17284

    oklch(70.6% 0.157 13.2)

  6. Step 500

    500

    #E84466

    oklch(63.1% 0.2 13.1)

  7. Step 600

    600 (this color)

    #CF004A

    oklch(54.4% 0.217 13.1)

  8. Step 700

    700

    #B4003F

    oklch(49% 0.196 13.2)

  9. Step 800

    800

    #940534

    oklch(42.7% 0.168 12.9)

  10. Step 900

    900

    #77162D

    oklch(37.7% 0.13 13.2)

  11. Step 950

    950

    #46101B

    oklch(27% 0.082 12.7)

Export this scale for Tailwind in the Tailwind colors tool

#CF004A 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)#504F4B0.246
Deuteranopia (no green cones)#7F75450.222
Tritanopia (no blue cones)#E3002B0.056
Achromatopsia (no color)#6868680.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF004A

    #CF004A

    oklch(54.4% 0.217 13.1)

  • #00817F

    #00817F

    oklch(54.5% 0.093 192.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF004A

    #CF004A

    oklch(54.4% 0.217 13.1)

  • #BD1C90

    #BD1C90

    oklch(54.4% 0.218 343.1)

  • #B84700

    #B84700

    oklch(54.4% 0.16 43.3)

Open the analogous palette in the generator

Split complementary

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

  • #CF004A

    #CF004A

    oklch(54.4% 0.217 13.1)

  • #00855C

    #00855C

    oklch(54.6% 0.118 163)

  • #007C9B

    #007C9B

    oklch(54.4% 0.102 223.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF004A

    #CF004A

    oklch(54.4% 0.217 13.1)

  • #498100

    #498100

    oklch(54.3% 0.153 133.1)

  • #006FCE

    #006FCE

    oklch(54.3% 0.169 253.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF004A

    #CF004A

    oklch(54.4% 0.217 13.1)

  • #7C7200

    #7C7200

    oklch(54.4% 0.115 103.4)

  • #00817F

    #00817F

    oklch(54.5% 0.093 192.9)

  • #6650E7

    #6650E7

    oklch(54.4% 0.217 283.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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