#D12D42

Closest named color: Crimson (#DC143C). oklch(56.6% 0.198 20.1), rgb(209, 45, 66).

Aa

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

About this color

#D12D42 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.198 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.024 away. White text reads best on it, at 5.04:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.198)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.16:1
White text5.04:1

Values

HEX#D12D42
RGBrgb(209, 45, 66)
HSLhsl(352, 65%, 50%)
OKLCHoklch(56.6% 0.198 20.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 #D12D42 5.04:1 AA Lc -78.7 Fine for body text
Black text on #D12D42 4.16:1 AA large text Lc 30.8 Non-text elements, placeholder text
#D12D42 text on white 5.04:1 AA Lc 73.2 Content text, not long reading
#D12D42 text on black 4.16:1 AA large text Lc -28.4 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

    #FDF2F2

    oklch(97% 0.012 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F8CDCC

    oklch(88.5% 0.049 19.7)

  4. Step 300

    300

    #F5AAA9

    oklch(81% 0.089 20)

  5. Step 400

    400

    #EC797B

    oklch(70.8% 0.142 20.3)

  6. Step 500

    500

    #E24F59

    oklch(63% 0.182 20.2)

  7. Step 600

    600 (this color)

    #D12D42

    oklch(56.6% 0.198 20.1)

  8. Step 700

    700

    #B11831

    oklch(49.1% 0.184 20.2)

  9. Step 800

    800

    #901929

    oklch(42.7% 0.153 20.3)

  10. Step 900

    900

    #741E26

    oklch(37.8% 0.119 20)

  11. Step 950

    950

    #441316

    oklch(26.9% 0.075 20.3)

Export this scale for Tailwind in the Tailwind colors tool

#D12D42 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)#5F59410.218
Deuteranopia (no green cones)#887B3D0.199
Tritanopia (no blue cones)#E600370.042
Achromatopsia (no color)#6F6F6F0.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #D12D42

    #D12D42

    oklch(56.6% 0.198 20.1)

  • #00878C

    #00878C

    oklch(56.6% 0.096 199.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D12D42

    #D12D42

    oklch(56.6% 0.198 20.1)

  • #C43186

    #C43186

    oklch(56.5% 0.198 350)

  • #B85500

    #B85500

    oklch(56.4% 0.149 50)

Open the analogous palette in the generator

Split complementary

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

  • #D12D42

    #D12D42

    oklch(56.6% 0.198 20.1)

  • #008B6C

    #008B6C

    oklch(56.6% 0.112 169.9)

  • #0081AB

    #0081AB

    oklch(56.5% 0.113 230)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D12D42

    #D12D42

    oklch(56.6% 0.198 20.1)

  • #298E00

    #298E00

    oklch(56.6% 0.183 140)

  • #246EE8

    #246EE8

    oklch(56.5% 0.199 260.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D12D42

    #D12D42

    oklch(56.6% 0.198 20.1)

  • #7B7C00

    #7B7C00

    oklch(56.7% 0.124 110.3)

  • #00878C

    #00878C

    oklch(56.6% 0.096 199.4)

  • #7957E0

    #7957E0

    oklch(56.5% 0.199 290)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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