#D12257

Closest named color: Lipstick (#D5174E). oklch(56.2% 0.207 10.8), rgb(209, 34, 87).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.207)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text4.07:1
White text5.15:1

Values

HEX#D12257
RGBrgb(209, 34, 87)
HSLhsl(342, 72%, 48%)
OKLCHoklch(56.2% 0.207 10.8)

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 #D12257 5.15:1 AA Lc -79.1 Fine for body text
Black text on #D12257 4.07:1 AA large text Lc 30.4 Non-text elements, placeholder text
#D12257 text on white 5.15:1 AA Lc 73.7 Content text, not long reading
#D12257 text on black 4.07:1 AA large text Lc -28.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

    #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

    #E34A6D

    oklch(63.1% 0.189 10.8)

  7. Step 600

    600 (this color)

    #D12257

    oklch(56.2% 0.207 10.8)

  8. Step 700

    700

    #B20945

    oklch(49% 0.192 10.9)

  9. Step 800

    800

    #911239

    oklch(42.8% 0.159 11)

  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

#D12257 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)#5757580.232
Deuteranopia (no green cones)#837A530.211
Tritanopia (no blue cones)#E5003B0.050
Achromatopsia (no color)#6D6D6D0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #D12257

    #D12257

    oklch(56.2% 0.207 10.8)

  • #008783

    #008783

    oklch(56.3% 0.097 191.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D12257

    #D12257

    oklch(56.2% 0.207 10.8)

  • #BE2F99

    #BE2F99

    oklch(56.2% 0.207 340.6)

  • #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°).

  • #D12257

    #D12257

    oklch(56.2% 0.207 10.8)

  • #008B5C

    #008B5C

    oklch(56.2% 0.126 160.8)

  • #00829F

    #00829F

    oklch(56.2% 0.103 220.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D12257

    #D12257

    oklch(56.2% 0.207 10.8)

  • #548600

    #548600

    oklch(56.3% 0.153 130.9)

  • #0077D0

    #0077D0

    oklch(56.3% 0.163 250.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D12257

    #D12257

    oklch(56.2% 0.207 10.8)

  • #857600

    #857600

    oklch(56.2% 0.117 100.5)

  • #008783

    #008783

    oklch(56.3% 0.097 191.1)

  • #665BE9

    #665BE9

    oklch(56.3% 0.207 280.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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