#D5338F

Closest named color: Medium Violet Red (#C71585). oklch(59.8% 0.213 350.9), rgb(213, 51, 143).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (60%)
Chromavivid (0.213)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.69:1
White text4.46:1

Values

HEX#D5338F
RGBrgb(213, 51, 143)
HSLhsl(326, 66%, 52%)
OKLCHoklch(59.8% 0.213 350.9)

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 #D5338F 4.46:1 AA large text Lc -75.1 Fine for body text
Black text on #D5338F 4.69:1 AA Lc 34.5 Non-text elements, placeholder text
#D5338F text on white 4.46:1 AA large text Lc 69.6 Content text, not long reading
#D5338F text on black 4.69:1 AA Lc -32.0 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

    #FBE2EC

    oklch(93.6% 0.03 351.5)

  3. Step 200

    200

    #F8CADE

    oklch(88.5% 0.058 350.4)

  4. Step 300

    300

    #F5A5C9

    oklch(81% 0.104 351.1)

  5. Step 400

    400

    #EB6FAD

    oklch(70.6% 0.167 351)

  6. Step 500

    500 (this color)

    #D5338F

    oklch(59.8% 0.213 350.9)

  7. Step 600

    600

    #CC0084

    oklch(55.6% 0.231 350.8)

  8. Step 700

    700

    #AD006F

    oklch(49.2% 0.205 350.9)

  9. Step 800

    800

    #8F005B

    oklch(42.8% 0.178 350.9)

  10. Step 900

    900

    #73134A

    oklch(37.7% 0.139 351.3)

  11. Step 950

    950

    #440E2C

    oklch(27% 0.089 350.6)

Export this scale for Tailwind in the Tailwind colors tool

#D5338F 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)#5065910.239
Deuteranopia (no green cones)#7E828B0.212
Tritanopia (no blue cones)#E5265D0.079
Achromatopsia (no color)#7777770.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5338F

    #D5338F

    oklch(59.8% 0.213 350.9)

  • #009676

    #009676

    oklch(59.9% 0.118 170.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5338F

    #D5338F

    oklch(59.8% 0.213 350.9)

  • #B646CA

    #B646CA

    oklch(59.8% 0.213 321.3)

  • #E22F44

    #E22F44

    oklch(59.7% 0.212 21)

Open the analogous palette in the generator

Split complementary

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

  • #D5338F

    #D5338F

    oklch(59.8% 0.213 350.9)

  • #239A00

    #239A00

    oklch(59.9% 0.197 140.9)

  • #009198

    #009198

    oklch(59.7% 0.102 200.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5338F

    #D5338F

    oklch(59.8% 0.213 350.9)

  • #848600

    #848600

    oklch(59.8% 0.131 110.8)

  • #008BBA

    #008BBA

    oklch(59.7% 0.121 231.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5338F

    #D5338F

    oklch(59.8% 0.213 350.9)

  • #A57600

    #A57600

    oklch(59.8% 0.124 80.7)

  • #009676

    #009676

    oklch(59.9% 0.118 170.7)

  • #2B76FB

    #2B76FB

    oklch(59.8% 0.212 260.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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