#D371C1#D371C1

#D371C1 is a light, vivid pink. Relative luminance 0.295; OKLCH L 68.6% C 0.157 H 334.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#D371C1
RGBrgb(211, 113, 193)
HSLhsl(311, 53%, 64%)
HSVhsv(311, 46%, 83%)
CMYKcmyk(0%, 46.4%, 8.5%, 17.3%)
CIE-LABlab(61.23, 49.14, -25.06)
CIE-LCHlch(61.23, 55.16, 332.98°)
OKLaboklab(68.57% 0.1415 -0.0678)
OKLCHoklch(68.57% 0.157 334.4)
XYZxyz(42.3947, 29.5120, 53.9051)
Luminance0.2951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371C1 #71D383
analogous
#B471D3 #D371C1 #D37190
triadic
#D371C1 #C1D371 #71C1D3
tetradic
#D371C1 #D3B471 #71D383 #7190D3
square
#D371C1 #D3B471 #71D383 #7190D3
split-complementary
#D371C1 #90D371 #71D3B4
monochromatic
#9A3086 #C542AD #D371C1 #E1A0D5 #F0CEEA

Accessibility & contrast

On white

3.04
#D371C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#D371C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371C1
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371C1#FFFFFF#000000##000000
##D371C11.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718BC4
Deuteranopia (green-blind)
#8B99BE
Tritanopia (blue-blind)
#DB7690
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d371c1;
/* rgb */ color: rgb(211, 113, 193);
/* oklch */ color: oklch(68.6% 0.157 334.4);
Tailwind
colors: {
  custom: {
    50: '#e29dd4',
    500: '#d371c1',
    950: '#000000',
  },
}
SCSS
$custom: #d371c1;
$custom-light: #e29dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d371c1",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 311.02,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68573,
    "c": 0.15687,
    "h": 334.4
  },
  "luminance": 0.29509
}

Semantic roles & 50–950 ramp

primary
#D371C1
secondary
#BFE1C5
accent
#C04225
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D371C1

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

Preview Lab → · Contrast checker → · Palette generator →

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