#D371C8#D371C8

#D371C8 is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.9% C 0.163 H 331.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#D371C8
RGBrgb(211, 113, 200)
HSLhsl(307, 53%, 64%)
HSVhsv(307, 46%, 83%)
CMYKcmyk(0%, 46.4%, 5.2%, 17.3%)
CIE-LABlab(61.51, 50.32, -28.60)
CIE-LCHlch(61.51, 57.88, 330.39°)
OKLaboklab(68.87% 0.143 -0.0778)
OKLCHoklch(68.87% 0.163 331.5)
XYZxyz(43.1941, 29.8318, 58.1154)
Luminance0.2983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371C8 #71D37C
analogous
#AD71D3 #D371C8 #D37197
triadic
#D371C8 #C8D371 #71C8D3
tetradic
#D371C8 #D3AD71 #71D37C #7197D3
square
#D371C8 #D3AD71 #71D37C #7197D3
split-complementary
#D371C8 #97D371 #71D3AD
monochromatic
#9A308E #C542B6 #D371C8 #E1A0DA #F0CEEC

Accessibility & contrast

On white

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

On black

6.97
#D371C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371C8
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371C8#FFFFFF#000000##000000
##D371C81.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCB
Deuteranopia (green-blind)
#899AC5
Tritanopia (blue-blind)
#DA7893
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d371c8;
/* rgb */ color: rgb(211, 113, 200);
/* oklch */ color: oklch(68.9% 0.163 331.5);
Tailwind
colors: {
  custom: {
    50: '#e29dd9',
    500: '#d371c8',
    950: '#000000',
  },
}
SCSS
$custom: #d371c8;
$custom-light: #e29dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d371c8",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 306.735,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68871,
    "c": 0.16278,
    "h": 331.5
  },
  "luminance": 0.29829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D371C8

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

Preview Lab → · Contrast checker → · Palette generator →

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