#CF1157

Closest named color: Lipstick (#D5174E). oklch(55.1% 0.214 9.1), rgb(207, 17, 87).

Aa

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

About this color

#CF1157 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.214 and its hue 9°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick (#D5174E), ΔE 0.021 away. White text reads best on it, at 5.42:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.214)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text3.87:1
White text5.42:1

Values

HEX#CF1157
RGBrgb(207, 17, 87)
HSLhsl(338, 85%, 44%)
OKLCHoklch(55.1% 0.214 9.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 #CF1157 5.42:1 AA Lc -80.2 Fine for body text
Black text on #CF1157 3.87:1 AA large text Lc 29.3 Dividers and decoration only
#CF1157 text on white 5.42:1 AA Lc 74.8 Content text, not long reading
#CF1157 text on black 3.87:1 AA large text Lc -26.9 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

    #FCE3E6

    oklch(93.7% 0.028 9.4)

  3. Step 200

    200

    #FACBD2

    oklch(88.5% 0.054 8.2)

  4. Step 300

    300

    #F7A7B3

    oklch(80.9% 0.095 9.6)

  5. Step 400

    400

    #EF738C

    oklch(70.7% 0.154 9.2)

  6. Step 500

    500

    #E54670

    oklch(63.1% 0.196 9.1)

  7. Step 600

    600 (this color)

    #CF1157

    oklch(55.1% 0.214 9.1)

  8. Step 700

    700

    #B30049

    oklch(49.1% 0.196 8.9)

  9. Step 800

    800

    #920A3B

    oklch(42.6% 0.165 9.3)

  10. Step 900

    900

    #761733

    oklch(37.8% 0.129 9.1)

  11. Step 950

    950

    #45101E

    oklch(26.9% 0.081 8.7)

Export this scale for Tailwind in the Tailwind colors tool

#CF1157 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)#5152580.242
Deuteranopia (no green cones)#7F77520.220
Tritanopia (no blue cones)#E300350.059
Achromatopsia (no color)#6A6A6A0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF1157

    #CF1157

    oklch(55.1% 0.214 9.1)

  • #00837D

    #00837D

    oklch(55% 0.095 189.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF1157

    #CF1157

    oklch(55.1% 0.214 9.1)

  • #BB279A

    #BB279A

    oklch(55.2% 0.214 339.1)

  • #C24000

    #C24000

    oklch(55.2% 0.176 39.3)

Open the analogous palette in the generator

Split complementary

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

  • #CF1157

    #CF1157

    oklch(55.1% 0.214 9.1)

  • #008856

    #008856

    oklch(55.2% 0.127 158.9)

  • #007F99

    #007F99

    oklch(55.1% 0.1 218.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF1157

    #CF1157

    oklch(55.1% 0.214 9.1)

  • #568100

    #568100

    oklch(55.1% 0.146 129.1)

  • #0075C6

    #0075C6

    oklch(55.2% 0.152 249.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF1157

    #CF1157

    oklch(55.1% 0.214 9.1)

  • #837200

    #837200

    oklch(55.1% 0.114 98.9)

  • #00837D

    #00837D

    oklch(55% 0.095 189.1)

  • #5F57EA

    #5F57EA

    oklch(55.2% 0.214 279.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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