#D5229A

Closest named color: Medium Violet Red (#C71585). oklch(59.2% 0.233 346.1), rgb(213, 34, 154).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.233)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.52:1
White text4.64:1

Values

HEX#D5229A
RGBrgb(213, 34, 154)
HSLhsl(320, 72%, 48%)
OKLCHoklch(59.2% 0.233 346.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 #D5229A 4.64:1 AA Lc -75.9 Fine for body text
Black text on #D5229A 4.52:1 AA Lc 33.6 Non-text elements, placeholder text
#D5229A text on white 4.64:1 AA Lc 70.4 Content text, not long reading
#D5229A text on black 4.52:1 AA Lc -31.2 Non-text elements, placeholder text

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

    #FAE2EE

    oklch(93.6% 0.031 346)

  3. Step 200

    200

    #F7CAE1

    oklch(88.4% 0.059 346.2)

  4. Step 300

    300

    #F2A5CF

    oklch(80.9% 0.105 345.8)

  5. Step 400

    400

    #E870B6

    oklch(70.7% 0.168 346.2)

  6. Step 500

    500

    #DD41A4

    oklch(63.1% 0.214 346)

  7. Step 600

    600 (this color)

    #D5229A

    oklch(59.2% 0.233 346.1)

  8. Step 700

    700

    #AA0079

    oklch(49.1% 0.208 345.9)

  9. Step 800

    800

    #8C0363

    oklch(42.7% 0.179 346)

  10. Step 900

    900

    #711451

    oklch(37.7% 0.14 345.9)

  11. Step 950

    950

    #430F2F

    oklch(27.1% 0.088 346.8)

Export this scale for Tailwind in the Tailwind colors tool

#D5229A 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)#40619D0.263
Deuteranopia (no green cones)#777F960.227
Tritanopia (no blue cones)#E41A5E0.097
Achromatopsia (no color)#7474740.235

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5229A

    #D5229A

    oklch(59.2% 0.233 346.1)

  • #00946D

    #00946D

    oklch(59.1% 0.122 166.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5229A

    #D5229A

    oklch(59.2% 0.233 346.1)

  • #B13ED8

    #B13ED8

    oklch(59.2% 0.233 316.1)

  • #E70D4C

    #E70D4C

    oklch(59.2% 0.233 16)

Open the analogous palette in the generator

Split complementary

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

  • #D5229A

    #D5229A

    oklch(59.2% 0.233 346.1)

  • #469300

    #469300

    oklch(59% 0.176 136.1)

  • #009091

    #009091

    oklch(59.2% 0.101 195.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5229A

    #D5229A

    oklch(59.2% 0.233 346.1)

  • #888100

    #888100

    oklch(59% 0.126 105.8)

  • #008BB1

    #008BB1

    oklch(59.3% 0.113 225.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5229A

    #D5229A

    oklch(59.2% 0.233 346.1)

  • #A77200

    #A77200

    oklch(59.2% 0.124 76.5)

  • #00946D

    #00946D

    oklch(59.1% 0.122 166.3)

  • #0079F2

    #0079F2

    oklch(59.1% 0.203 256.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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