#D371BC#D371BC

#D371BC is a light, vivid pink. Relative luminance 0.293; OKLCH L 68.4% C 0.153 H 336.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#D371BC
RGBrgb(211, 113, 188)
HSLhsl(314, 53%, 64%)
HSVhsv(314, 46%, 83%)
CMYKcmyk(0%, 46.4%, 10.9%, 17.3%)
CIE-LABlab(61.04, 48.31, -22.51)
CIE-LCHlch(61.04, 53.30, 335.01°)
OKLaboklab(68.37% 0.1403 -0.0606)
OKLCHoklch(68.37% 0.153 336.6)
XYZxyz(41.8463, 29.2927, 51.0172)
Luminance0.2929 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371BC #71D388
analogous
#B971D3 #D371BC #D3718B
triadic
#D371BC #BCD371 #71BCD3
tetradic
#D371BC #D3B971 #71D388 #718BD3
square
#D371BC #D3B971 #71D388 #718BD3
split-complementary
#D371BC #8BD371 #71D3B9
monochromatic
#9A3081 #C542A6 #D371BC #E1A0D2 #F0CEE8

Accessibility & contrast

On white

3.06
#D371BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#D371BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371BC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371BC#FFFFFF#000000##000000
##D371BC1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABF
Deuteranopia (green-blind)
#8D99B9
Tritanopia (blue-blind)
#DC758E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d371bc;
/* rgb */ color: rgb(211, 113, 188);
/* oklch */ color: oklch(68.4% 0.153 336.6);
Tailwind
colors: {
  custom: {
    50: '#e29dd0',
    500: '#d371bc',
    950: '#000000',
  },
}
SCSS
$custom: #d371bc;
$custom-light: #e29dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d371bc",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 314.082,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68367,
    "c": 0.15283,
    "h": 336.6
  },
  "luminance": 0.2929
}

Semantic roles & 50–950 ramp

primary
#D371BC
secondary
#BFE1C7
accent
#C04A25
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D371BC

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

Preview Lab → · Contrast checker → · Palette generator →

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