#D371C3#D371C3

#D371C3 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.159 H 333.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#D371C3
RGBrgb(211, 113, 195)
HSLhsl(310, 53%, 64%)
HSVhsv(310, 46%, 83%)
CMYKcmyk(0%, 46.4%, 7.6%, 17.3%)
CIE-LABlab(61.31, 49.47, -26.07)
CIE-LCHlch(61.31, 55.92, 332.21°)
OKLaboklab(68.66% 0.1419 -0.0706)
OKLCHoklch(68.66% 0.159 333.5)
XYZxyz(42.6193, 29.6019, 55.0881)
Luminance0.2960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371C3 #71D381
analogous
#B271D3 #D371C3 #D37192
triadic
#D371C3 #C3D371 #71C3D3
tetradic
#D371C3 #D3B271 #71D381 #7192D3
square
#D371C3 #D3B271 #71D381 #7192D3
split-complementary
#D371C3 #92D371 #71D3B2
monochromatic
#9A3089 #C542AF #D371C3 #E1A0D7 #F0CEEA

Accessibility & contrast

On white

3.03
#D371C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#D371C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371C3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371C3#FFFFFF#000000##000000
##D371C31.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC6
Deuteranopia (green-blind)
#8B99C0
Tritanopia (blue-blind)
#DB7791
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d371c3;
/* rgb */ color: rgb(211, 113, 195);
/* oklch */ color: oklch(68.7% 0.159 333.5);
Tailwind
colors: {
  custom: {
    50: '#e29dd5',
    500: '#d371c3',
    950: '#000000',
  },
}
SCSS
$custom: #d371c3;
$custom-light: #e29dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d371c3",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 309.796,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68657,
    "c": 0.15853,
    "h": 333.5
  },
  "luminance": 0.29599
}

Semantic roles & 50–950 ramp

primary
#D371C3
secondary
#BFE1C4
accent
#C03F25
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D371C3

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

Preview Lab → · Contrast checker → · Palette generator →

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