#D3338A

Closest named color: Medium Violet Red (#C71585). oklch(59.3% 0.209 352.4), rgb(211, 51, 138).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.61:1
White text4.55:1

Values

HEX#D3338A
RGBrgb(211, 51, 138)
HSLhsl(327, 65%, 51%)
OKLCHoklch(59.3% 0.209 352.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 #D3338A 4.55:1 AA Lc -75.7 Fine for body text
Black text on #D3338A 4.61:1 AA Lc 33.8 Non-text elements, placeholder text
#D3338A text on white 4.55:1 AA Lc 70.3 Content text, not long reading
#D3338A text on black 4.61:1 AA Lc -31.4 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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #F9E3EB

    oklch(93.6% 0.026 353.5)

  3. Step 200

    200

    #F6CCDC

    oklch(88.6% 0.052 353.3)

  4. Step 300

    300

    #F1A8C6

    oklch(81% 0.093 353)

  5. Step 400

    400

    #E675AA

    oklch(70.7% 0.151 352.2)

  6. Step 500

    500

    #DB4B95

    oklch(63.1% 0.193 352.3)

  7. Step 600

    600 (this color)

    #D3338A

    oklch(59.3% 0.209 352.4)

  8. Step 700

    700

    #AA116B

    oklch(49% 0.194 352.4)

  9. Step 800

    800

    #8A1557

    oklch(42.6% 0.16 352.4)

  10. Step 900

    900

    #701B48

    oklch(37.7% 0.126 352.5)

  11. Step 950

    950

    #42122A

    oklch(27% 0.08 352.8)

Export this scale for Tailwind in the Tailwind colors tool

#D3338A 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)#51638C0.234
Deuteranopia (no green cones)#7E80860.208
Tritanopia (no blue cones)#E3245A0.076
Achromatopsia (no color)#7676760.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #D3338A

    #D3338A

    oklch(59.3% 0.209 352.4)

  • #009477

    #009477

    oklch(59.4% 0.115 172.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D3338A

    #D3338A

    oklch(59.3% 0.209 352.4)

  • #B545C5

    #B545C5

    oklch(59.3% 0.209 322.5)

  • #DF3040

    #DF3040

    oklch(59.2% 0.209 22.2)

Open the analogous palette in the generator

Split complementary

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

  • #D3338A

    #D3338A

    oklch(59.3% 0.209 352.4)

  • #039900

    #039900

    oklch(59.2% 0.201 142.4)

  • #008F98

    #008F98

    oklch(59.2% 0.101 202.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D3338A

    #D3338A

    oklch(59.3% 0.209 352.4)

  • #808500

    #808500

    oklch(59.2% 0.132 112.4)

  • #0089BA

    #0089BA

    oklch(59.2% 0.122 232.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D3338A

    #D3338A

    oklch(59.3% 0.209 352.4)

  • #A27600

    #A27600

    oklch(59.4% 0.122 82.4)

  • #009477

    #009477

    oklch(59.4% 0.115 172.4)

  • #3374F8

    #3374F8

    oklch(59.4% 0.209 262.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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