#D02257

Closest named color: Lipstick (#D5174E). oklch(56.1% 0.206 10.6), rgb(208, 34, 87).

Aa

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

About this color

#D02257 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.206 and its hue 11°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick (#D5174E), ΔE 0.015 away. White text reads best on it, at 5.18:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.206)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text4.04:1
White text5.18:1

Values

HEX#D02257
RGBrgb(208, 34, 87)
HSLhsl(342, 72%, 47%)
OKLCHoklch(56.1% 0.206 10.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 #D02257 5.18:1 AA Lc -79.3 Fine for body text
Black text on #D02257 4.04:1 AA large text Lc 30.2 Non-text elements, placeholder text
#D02257 text on white 5.18:1 AA Lc 73.9 Content text, not long reading
#D02257 text on black 4.04:1 AA large text Lc -27.8 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

    #FBE3E5

    oklch(93.6% 0.026 11.9)

  3. Step 200

    200

    #F9CCD1

    oklch(88.5% 0.051 10.7)

  4. Step 300

    300

    #F6A8B2

    oklch(81% 0.093 10.9)

  5. Step 400

    400

    #ED758A

    oklch(70.7% 0.149 10.7)

  6. Step 500

    500

    #E34A6E

    oklch(63.1% 0.189 10.4)

  7. Step 600

    600 (this color)

    #D02257

    oklch(56.1% 0.206 10.6)

  8. Step 700

    700

    #B20B46

    oklch(49.1% 0.191 10.6)

  9. Step 800

    800

    #91123A

    oklch(42.8% 0.159 10.5)

  10. Step 900

    900

    #741A31

    oklch(37.6% 0.124 10.8)

  11. Step 950

    950

    #45121D

    oklch(27.1% 0.078 11.1)

Export this scale for Tailwind in the Tailwind colors tool

#D02257 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)#5657580.232
Deuteranopia (no green cones)#8279530.210
Tritanopia (no blue cones)#E4003A0.051
Achromatopsia (no color)#6D6D6D0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02257

    #D02257

    oklch(56.1% 0.206 10.6)

  • #008682

    #008682

    oklch(56% 0.096 191.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02257

    #D02257

    oklch(56.1% 0.206 10.6)

  • #BD2F98

    #BD2F98

    oklch(56% 0.206 340.7)

  • #C44500

    #C44500

    oklch(56.1% 0.174 40.7)

Open the analogous palette in the generator

Split complementary

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

  • #D02257

    #D02257

    oklch(56.1% 0.206 10.6)

  • #008B5B

    #008B5B

    oklch(56.2% 0.127 160.3)

  • #00829F

    #00829F

    oklch(56.2% 0.103 220.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02257

    #D02257

    oklch(56.1% 0.206 10.6)

  • #548500

    #548500

    oklch(56% 0.152 130.7)

  • #0077CF

    #0077CF

    oklch(56.2% 0.161 250.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02257

    #D02257

    oklch(56.1% 0.206 10.6)

  • #847600

    #847600

    oklch(56.1% 0.117 101.1)

  • #008682

    #008682

    oklch(56% 0.096 191.1)

  • #655BE8

    #655BE8

    oklch(56.1% 0.206 280.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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