#D2158D

Closest named color: Medium Violet Red (#C71585). oklch(57.6% 0.232 349.5), rgb(210, 21, 141).

Aa

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

About this color

#D2158D is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.232 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.024 away. White text reads best on it, at 4.96:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.232)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.23:1
White text4.96:1

Values

HEX#D2158D
RGBrgb(210, 21, 141)
HSLhsl(322, 82%, 45%)
OKLCHoklch(57.6% 0.232 349.5)

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 #D2158D 4.96:1 AA Lc -77.7 Fine for body text
Black text on #D2158D 4.23:1 AA large text Lc 31.8 Non-text elements, placeholder text
#D2158D text on white 4.96:1 AA Lc 72.3 Content text, not long reading
#D2158D text on black 4.23:1 AA large text Lc -29.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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FBE2ED

    oklch(93.6% 0.031 349.3)

  3. Step 200

    200

    #F8CADF

    oklch(88.5% 0.058 349.2)

  4. Step 300

    300

    #F4A5CB

    oklch(81% 0.104 349.3)

  5. Step 400

    400

    #EA70B0

    oklch(70.7% 0.166 349.5)

  6. Step 500

    500

    #E0409C

    oklch(63.1% 0.213 349.7)

  7. Step 600

    600 (this color)

    #D2158D

    oklch(57.6% 0.232 349.5)

  8. Step 700

    700

    #AC0072

    oklch(49.1% 0.205 349.4)

  9. Step 800

    800

    #8E005D

    oklch(42.7% 0.178 349.6)

  10. Step 900

    900

    #72134C

    oklch(37.6% 0.139 349.5)

  11. Step 950

    950

    #430F2D

    oklch(27% 0.087 349)

Export this scale for Tailwind in the Tailwind colors tool

#D2158D 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)#405C900.264
Deuteranopia (no green cones)#767B890.229
Tritanopia (no blue cones)#E200540.092
Achromatopsia (no color)#7070700.234

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2158D

    #D2158D

    oklch(57.6% 0.232 349.5)

  • #008E6E

    #008E6E

    oklch(57.5% 0.114 169.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2158D

    #D2158D

    oklch(57.6% 0.232 349.5)

  • #B035CC

    #B035CC

    oklch(57.5% 0.232 319.4)

  • #E1003C

    #E1003C

    oklch(57.6% 0.231 19.6)

Open the analogous palette in the generator

Split complementary

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

  • #D2158D

    #D2158D

    oklch(57.6% 0.232 349.5)

  • #2F9100

    #2F9100

    oklch(57.6% 0.184 139.5)

  • #008A8F

    #008A8F

    oklch(57.5% 0.098 199.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2158D

    #D2158D

    oklch(57.6% 0.232 349.5)

  • #7F7E00

    #7F7E00

    oklch(57.5% 0.125 109.2)

  • #0085AF

    #0085AF

    oklch(57.7% 0.114 229.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2158D

    #D2158D

    oklch(57.6% 0.232 349.5)

  • #9E6F00

    #9E6F00

    oklch(57.5% 0.119 79.2)

  • #008E6E

    #008E6E

    oklch(57.5% 0.114 169.7)

  • #006EFC

    #006EFC

    oklch(57.6% 0.228 259.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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