#CF0162

Closest named color: Dark Hot Pink (#D90166). oklch(55% 0.221 4.3), rgb(207, 1, 98).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.221)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text3.83:1
White text5.47:1

Values

HEX#CF0162
RGBrgb(207, 1, 98)
HSLhsl(332, 99%, 41%)
OKLCHoklch(55% 0.221 4.3)

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 #CF0162 5.47:1 AA Lc -80.1 Fine for body text
Black text on #CF0162 3.83:1 AA large text Lc 29.4 Dividers and decoration only
#CF0162 text on white 5.47:1 AA Lc 74.7 Content text, not long reading
#CF0162 text on black 3.83:1 AA large text Lc -27.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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E7

    oklch(93.5% 0.029 4.5)

  3. Step 200

    200

    #FACBD5

    oklch(88.6% 0.055 4)

  4. Step 300

    300

    #F8A6B9

    oklch(81% 0.099 4.4)

  5. Step 400

    400

    #EF7195

    oklch(70.7% 0.159 4)

  6. Step 500

    500

    #E6427B

    oklch(63.1% 0.203 4.1)

  7. Step 600

    600 (this color)

    #CF0162

    oklch(55% 0.221 4.3)

  8. Step 700

    700

    #B20053

    oklch(49.1% 0.198 4.4)

  9. Step 800

    800

    #930344

    oklch(42.8% 0.17 4.2)

  10. Step 900

    900

    #761539

    oklch(37.8% 0.133 4.4)

  11. Step 950

    950

    #450F21

    oklch(26.9% 0.084 4.5)

Export this scale for Tailwind in the Tailwind colors tool

#CF0162 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)#4B52630.252
Deuteranopia (no green cones)#7C765E0.225
Tritanopia (no blue cones)#E200390.070
Achromatopsia (no color)#6969690.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF0162

    #CF0162

    oklch(55% 0.221 4.3)

  • #008478

    #008478

    oklch(55.1% 0.098 183.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF0162

    #CF0162

    oklch(55% 0.221 4.3)

  • #B725A5

    #B725A5

    oklch(55% 0.221 334)

  • #CB3000

    #CB3000

    oklch(55.2% 0.197 34.3)

Open the analogous palette in the generator

Split complementary

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

  • #CF0162

    #CF0162

    oklch(55% 0.221 4.3)

  • #00884B

    #00884B

    oklch(55% 0.138 154.4)

  • #008094

    #008094

    oklch(55.1% 0.097 213.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF0162

    #CF0162

    oklch(55% 0.221 4.3)

  • #617E00

    #617E00

    oklch(55% 0.137 124.1)

  • #0077BB

    #0077BB

    oklch(54.9% 0.137 244.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF0162

    #CF0162

    oklch(55% 0.221 4.3)

  • #877000

    #877000

    oklch(55.1% 0.113 94.7)

  • #008478

    #008478

    oklch(55.1% 0.098 183.8)

  • #5159EF

    #5159EF

    oklch(55% 0.221 274.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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