#D371C9#D371C9

#D371C9 is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.9% C 0.164 H 331.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D371C9
RGBrgb(211, 113, 201)
HSLhsl(306, 53%, 64%)
HSVhsv(306, 46%, 83%)
CMYKcmyk(0%, 46.4%, 4.7%, 17.3%)
CIE-LABlab(61.55, 50.50, -29.10)
CIE-LCHlch(61.55, 58.28, 330.05°)
OKLaboklab(68.92% 0.1432 -0.0792)
OKLCHoklch(68.92% 0.164 331.1)
XYZxyz(43.3113, 29.8787, 58.7329)
Luminance0.2988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371C9 #71D37B
analogous
#AC71D3 #D371C9 #D37198
triadic
#D371C9 #C9D371 #71C9D3
tetradic
#D371C9 #D3AC71 #71D37B #7198D3
square
#D371C9 #D3AC71 #71D37B #7198D3
split-complementary
#D371C9 #98D371 #71D3AC
monochromatic
#9A308F #C542B7 #D371C9 #E1A0DB #F0CEED

Accessibility & contrast

On white

3.01
#D371C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D371C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371C9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371C9#FFFFFF#000000##000000
##D371C91.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCC
Deuteranopia (green-blind)
#899AC6
Tritanopia (blue-blind)
#DA7894
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d371c9;
/* rgb */ color: rgb(211, 113, 201);
/* oklch */ color: oklch(68.9% 0.164 331.1);
Tailwind
colors: {
  custom: {
    50: '#e29dd9',
    500: '#d371c9',
    950: '#000000',
  },
}
SCSS
$custom: #d371c9;
$custom-light: #e29dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d371c9",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 201
  },
  "hsl": {
    "h": 306.122,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68915,
    "c": 0.16364,
    "h": 331.1
  },
  "luminance": 0.29876
}

Semantic roles & 50–950 ramp

primary
#D371C9
secondary
#BFE1C2
accent
#C03525
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D371C9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D371C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva