#D371AF#D371AF

#D371AF is a light, vivid pink. Relative luminance 0.288; OKLCH L 67.9% C 0.143 H 342.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D371AF
RGBrgb(211, 113, 175)
HSLhsl(322, 53%, 64%)
HSVhsv(322, 46%, 83%)
CMYKcmyk(0%, 46.4%, 17.1%, 17.3%)
CIE-LABlab(60.57, 46.24, -15.81)
CIE-LCHlch(60.57, 48.87, 341.12°)
OKLaboklab(67.86% 0.1369 -0.042)
OKLCHoklch(67.86% 0.143 342.9)
XYZxyz(40.5076, 28.7572, 43.9663)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371AF #71D395
analogous
#C671D3 #D371AF #D3717E
triadic
#D371AF #AFD371 #71AFD3
tetradic
#D371AF #D3C671 #71D395 #717ED3
square
#D371AF #D3C671 #71D395 #717ED3
split-complementary
#D371AF #7ED371 #71D3C6
monochromatic
#9A3073 #C54295 #D371AF #E1A0C9 #F0CEE4

Accessibility & contrast

On white

3.11
#D371AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#D371AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371AF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371AF#FFFFFF#000000##000000
##D371AF1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#9198AC
Tritanopia (blue-blind)
#DE7188
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d371af;
/* rgb */ color: rgb(211, 113, 175);
/* oklch */ color: oklch(67.9% 0.143 342.9);
Tailwind
colors: {
  custom: {
    50: '#e29cc7',
    500: '#d371af',
    950: '#000000',
  },
}
SCSS
$custom: #d371af;
$custom-light: #e29cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d371af",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 322.041,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67857,
    "c": 0.14319,
    "h": 342.9
  },
  "luminance": 0.28754
}

Semantic roles & 50–950 ramp

primary
#D371AF
secondary
#BFE1CB
accent
#C05E25
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D371AF

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

Preview Lab → · Contrast checker → · Palette generator →

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