#D3148A

Closest named color: Medium Violet Red (#C71585). oklch(57.6% 0.231 350.8), rgb(211, 20, 138).

Aa

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

About this color

#D3148A is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.231 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.025 away. White text reads best on it, at 4.95:1.

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

Values

HEX#D3148A
RGBrgb(211, 20, 138)
HSLhsl(323, 83%, 45%)
OKLCHoklch(57.6% 0.231 350.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 #D3148A 4.95:1 AA Lc -77.6 Fine for body text
Black text on #D3148A 4.23:1 AA large text Lc 31.9 Non-text elements, placeholder text
#D3148A text on white 4.95:1 AA Lc 72.2 Content text, not long reading
#D3148A text on black 4.23:1 AA large text Lc -29.5 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

    #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

    #EB6FAE

    oklch(70.7% 0.167 350.5)

  6. Step 500

    500

    #E14099

    oklch(63.2% 0.212 351)

  7. Step 600

    600 (this color)

    #D3148A

    oklch(57.6% 0.231 350.8)

  8. Step 700

    700

    #AC006F

    oklch(49% 0.204 350.6)

  9. Step 800

    800

    #8F005B

    oklch(42.8% 0.178 350.9)

  10. Step 900

    900

    #73134B

    oklch(37.7% 0.139 350.6)

  11. Step 950

    950

    #440E2C

    oklch(27% 0.089 350.6)

Export this scale for Tailwind in the Tailwind colors tool

#D3148A 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)#425B8D0.264
Deuteranopia (no green cones)#787B860.228
Tritanopia (no blue cones)#E300520.090
Achromatopsia (no color)#7070700.233

Harmonies

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

Complementary

The opposite hue (180°).

  • #D3148A

    #D3148A

    oklch(57.6% 0.231 350.8)

  • #008E70

    #008E70

    oklch(57.6% 0.113 171)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D3148A

    #D3148A

    oklch(57.6% 0.231 350.8)

  • #B235CA

    #B235CA

    oklch(57.6% 0.231 320.6)

  • #E10038

    #E10038

    oklch(57.5% 0.231 20.7)

Open the analogous palette in the generator

Split complementary

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

  • #D3148A

    #D3148A

    oklch(57.6% 0.231 350.8)

  • #239200

    #239200

    oklch(57.6% 0.189 140.8)

  • #008A91

    #008A91

    oklch(57.6% 0.098 201.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D3148A

    #D3148A

    oklch(57.6% 0.231 350.8)

  • #7D7F00

    #7D7F00

    oklch(57.6% 0.126 110.9)

  • #0084B0

    #0084B0

    oklch(57.5% 0.115 230.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D3148A

    #D3148A

    oklch(57.6% 0.231 350.8)

  • #9D7000

    #9D7000

    oklch(57.6% 0.119 80.6)

  • #008E70

    #008E70

    oklch(57.6% 0.113 171)

  • #136CFE

    #136CFE

    oklch(57.6% 0.231 260.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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