#D371CF#D371CF

#D371CF is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.2% C 0.169 H 328.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D371CF
RGBrgb(211, 113, 207)
HSLhsl(302, 53%, 64%)
HSVhsv(302, 46%, 83%)
CMYKcmyk(0%, 46.4%, 1.9%, 17.3%)
CIE-LABlab(61.80, 51.55, -32.10)
CIE-LCHlch(61.80, 60.72, 328.09°)
OKLaboklab(69.18% 0.1444 -0.0877)
OKLCHoklch(69.18% 0.169 328.7)
XYZxyz(44.0310, 30.1665, 62.5229)
Luminance0.3016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371CF #71D375
analogous
#A671D3 #D371CF #D3719E
triadic
#D371CF #CFD371 #71CFD3
tetradic
#D371CF #D3A671 #71D375 #719ED3
square
#D371CF #D3A671 #71D375 #719ED3
split-complementary
#D371CF #9ED371 #71D3A6
monochromatic
#9A3096 #C542BF #D371CF #E1A0DF #F0CEEF

Accessibility & contrast

On white

2.99
#D371CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#D371CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371CF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371CF#FFFFFF#000000##000000
##D371CF1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8DD2
Deuteranopia (green-blind)
#869ACC
Tritanopia (blue-blind)
#D97A96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d371cf;
/* rgb */ color: rgb(211, 113, 207);
/* oklch */ color: oklch(69.2% 0.169 328.7);
Tailwind
colors: {
  custom: {
    50: '#e29dde',
    500: '#d371cf',
    950: '#000000',
  },
}
SCSS
$custom: #d371cf;
$custom-light: #e29dde;
$custom-dark: #000000;
JSON
{
  "hex": "#d371cf",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 302.449,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69181,
    "c": 0.16895,
    "h": 328.7
  },
  "luminance": 0.30164
}

Semantic roles & 50–950 ramp

primary
#D371CF
secondary
#BFE1C0
accent
#C02C25
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D371CF

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

Preview Lab → · Contrast checker → · Palette generator →

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