#D12870

Closest named color: Dark Hot Pink (#D90166). oklch(57.3% 0.208 1.4), rgb(209, 40, 112).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.208)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text4.24:1
White text4.94:1

Values

HEX#D12870
RGBrgb(209, 40, 112)
HSLhsl(334, 68%, 49%)
OKLCHoklch(57.3% 0.208 1.4)

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 #D12870 4.94:1 AA Lc -78.0 Fine for body text
Black text on #D12870 4.24:1 AA large text Lc 31.5 Non-text elements, placeholder text
#D12870 text on white 4.94:1 AA Lc 72.6 Content text, not long reading
#D12870 text on black 4.24:1 AA large text Lc -29.1 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FBE3E8

    oklch(93.7% 0.027 3.4)

  3. Step 200

    200

    #F8CCD7

    oklch(88.6% 0.052 1.5)

  4. Step 300

    300

    #F4A7BC

    oklch(80.8% 0.094 1.6)

  5. Step 400

    400

    #EA759A

    oklch(70.7% 0.149 1.6)

  6. Step 500

    500

    #E04A82

    oklch(63.2% 0.191 1.4)

  7. Step 600

    600 (this color)

    #D12870

    oklch(57.3% 0.208 1.4)

  8. Step 700

    700

    #AF0C59

    oklch(49.1% 0.193 1.6)

  9. Step 800

    800

    #8E1349

    oklch(42.7% 0.159 1.5)

  10. Step 900

    900

    #721A3D

    oklch(37.6% 0.125 1.3)

  11. Step 950

    950

    #431224

    oklch(27% 0.078 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#D12870 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)#535B720.234
Deuteranopia (no green cones)#807C6C0.211
Tritanopia (no blue cones)#E300490.062
Achromatopsia (no color)#7070700.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #D12870

    #D12870

    oklch(57.3% 0.208 1.4)

  • #008C7C

    #008C7C

    oklch(57.4% 0.103 181.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D12870

    #D12870

    oklch(57.3% 0.208 1.4)

  • #B839AE

    #B839AE

    oklch(57.2% 0.207 331.3)

  • #D72E15

    #D72E15

    oklch(57.2% 0.207 31.4)

Open the analogous palette in the generator

Split complementary

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

  • #D12870

    #D12870

    oklch(57.3% 0.208 1.4)

  • #009046

    #009046

    oklch(57.2% 0.153 151.4)

  • #00879A

    #00879A

    oklch(57.2% 0.1 211.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D12870

    #D12870

    oklch(57.3% 0.208 1.4)

  • #6C8400

    #6C8400

    oklch(57.4% 0.138 121.5)

  • #0080C0

    #0080C0

    oklch(57.4% 0.135 241.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D12870

    #D12870

    oklch(57.3% 0.208 1.4)

  • #927500

    #927500

    oklch(57.4% 0.117 91.4)

  • #008C7C

    #008C7C

    oklch(57.4% 0.103 181.1)

  • #5066F0

    #5066F0

    oklch(57.3% 0.207 271.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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