#D4398B

Closest named color: Medium Violet Red (#C71585). oklch(60% 0.204 352.8), rgb(212, 57, 139).

Aa

Black text reads best on this color (4.75:1).

About this color

#D4398B is a medium-dark, vivid red. In OKLCH its lightness is 60%, its chroma 0.204 and its hue 353°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.051 away. Black text reads best on it, at 4.75:1.

Hue familyReds
Lightnessmedium-dark (60%)
Chromavivid (0.204)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.75:1
White text4.41:1

Values

HEX#D4398B
RGBrgb(212, 57, 139)
HSLhsl(328, 64%, 53%)
OKLCHoklch(60% 0.204 352.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 #D4398B 4.41:1 AA large text Lc -74.9 Content text, not long reading
Black text on #D4398B 4.75:1 AA Lc 34.7 Non-text elements, placeholder text
#D4398B text on white 4.41:1 AA large text Lc 69.4 Content text, not long reading
#D4398B text on black 4.75:1 AA Lc -32.3 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 500.

  1. Step 50

    50

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE2EB

    oklch(93.5% 0.029 352.9)

  3. Step 200

    200

    #F8CBDC

    oklch(88.6% 0.055 353.6)

  4. Step 300

    300

    #F3A6C6

    oklch(80.9% 0.099 352.9)

  5. Step 400

    400

    #EA72AA

    oklch(70.8% 0.16 352.7)

  6. Step 500

    500 (this color)

    #D4398B

    oklch(60% 0.204 352.8)

  7. Step 600

    600

    #CA137F

    oklch(55.6% 0.222 352.6)

  8. Step 700

    700

    #AD006B

    oklch(49% 0.203 352.6)

  9. Step 800

    800

    #8E0957

    oklch(42.8% 0.171 353)

  10. Step 900

    900

    #721748

    oklch(37.7% 0.133 352.7)

  11. Step 950

    950

    #43102A

    oklch(27% 0.084 352.8)

Export this scale for Tailwind in the Tailwind colors tool

#D4398B 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)#55668D0.228
Deuteranopia (no green cones)#8182870.202
Tritanopia (no blue cones)#E42B5D0.072
Achromatopsia (no color)#7878780.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4398B

    #D4398B

    oklch(60% 0.204 352.8)

  • #009679

    #009679

    oklch(60% 0.116 172.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4398B

    #D4398B

    oklch(60% 0.204 352.8)

  • #B64AC5

    #B64AC5

    oklch(59.9% 0.203 322.6)

  • #E03742

    #E03742

    oklch(60% 0.204 22.8)

Open the analogous palette in the generator

Split complementary

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

  • #D4398B

    #D4398B

    oklch(60% 0.204 352.8)

  • #009C08

    #009C08

    oklch(60% 0.203 142.8)

  • #00929B

    #00929B

    oklch(60.1% 0.102 202.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4398B

    #D4398B

    oklch(60% 0.204 352.8)

  • #828700

    #828700

    oklch(59.9% 0.133 112.4)

  • #008BBD

    #008BBD

    oklch(59.9% 0.123 232.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4398B

    #D4398B

    oklch(60% 0.204 352.8)

  • #A47800

    #A47800

    oklch(60.1% 0.124 82.8)

  • #009679

    #009679

    oklch(60% 0.116 172.6)

  • #3976F7

    #3976F7

    oklch(59.9% 0.204 262.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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