#D371C2#D371C2

#D371C2 is a light, vivid pink. Relative luminance 0.296; OKLCH L 68.6% C 0.158 H 334.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#D371C2
RGBrgb(211, 113, 194)
HSLhsl(310, 53%, 64%)
HSVhsv(310, 46%, 83%)
CMYKcmyk(0%, 46.4%, 8.1%, 17.3%)
CIE-LABlab(61.27, 49.30, -25.57)
CIE-LCHlch(61.27, 55.54, 332.59°)
OKLaboklab(68.62% 0.1417 -0.0692)
OKLCHoklch(68.62% 0.158 334)
XYZxyz(42.5066, 29.5568, 54.4946)
Luminance0.2955 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371C2 #71D382
analogous
#B371D3 #D371C2 #D37191
triadic
#D371C2 #C2D371 #71C2D3
tetradic
#D371C2 #D3B371 #71D382 #7191D3
square
#D371C2 #D3B371 #71D382 #7191D3
split-complementary
#D371C2 #91D371 #71D3B3
monochromatic
#9A3087 #C542AE #D371C2 #E1A0D6 #F0CEEA

Accessibility & contrast

On white

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

On black

6.91
#D371C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371C2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371C2#FFFFFF#000000##000000
##D371C21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#8B99BF
Tritanopia (blue-blind)
#DB7691
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d371c2;
/* rgb */ color: rgb(211, 113, 194);
/* oklch */ color: oklch(68.6% 0.158 334.0);
Tailwind
colors: {
  custom: {
    50: '#e29dd4',
    500: '#d371c2',
    950: '#000000',
  },
}
SCSS
$custom: #d371c2;
$custom-light: #e29dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d371c2",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 310.408,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68615,
    "c": 0.1577,
    "h": 334
  },
  "luminance": 0.29554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D371C2

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

Preview Lab → · Contrast checker → · Palette generator →

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