#D371C6#D371C6

#D371C6 is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.8% C 0.161 H 332.3°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#D371C6
RGBrgb(211, 113, 198)
HSLhsl(308, 53%, 64%)
HSVhsv(308, 46%, 83%)
CMYKcmyk(0%, 46.4%, 6.2%, 17.3%)
CIE-LABlab(61.43, 49.98, -27.59)
CIE-LCHlch(61.43, 57.09, 331.10°)
OKLaboklab(68.79% 0.1426 -0.0749)
OKLCHoklch(68.79% 0.161 332.3)
XYZxyz(42.9619, 29.7389, 56.8924)
Luminance0.2974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371C6 #71D37E
analogous
#AF71D3 #D371C6 #D37195
triadic
#D371C6 #C6D371 #71C6D3
tetradic
#D371C6 #D3AF71 #71D37E #7195D3
square
#D371C6 #D3AF71 #71D37E #7195D3
split-complementary
#D371C6 #95D371 #71D3AF
monochromatic
#9A308C #C542B3 #D371C6 #E1A0D9 #F0CEEC

Accessibility & contrast

On white

3.02
#D371C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#D371C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371C6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371C6#FFFFFF#000000##000000
##D371C61.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CC9
Deuteranopia (green-blind)
#8A99C3
Tritanopia (blue-blind)
#DA7792
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d371c6;
/* rgb */ color: rgb(211, 113, 198);
/* oklch */ color: oklch(68.8% 0.161 332.3);
Tailwind
colors: {
  custom: {
    50: '#e29dd7',
    500: '#d371c6',
    950: '#000000',
  },
}
SCSS
$custom: #d371c6;
$custom-light: #e29dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#d371c6",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 198
  },
  "hsl": {
    "h": 307.959,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68785,
    "c": 0.16107,
    "h": 332.3
  },
  "luminance": 0.29736
}

Semantic roles & 50–950 ramp

primary
#D371C6
secondary
#BFE1C3
accent
#C03A25
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D371C6

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

Preview Lab → · Contrast checker → · Palette generator →

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