#D951AC#D951AC

#D951AC is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.4% C 0.196 H 343.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D951AC
RGBrgb(217, 81, 172)
HSLhsl(320, 64%, 58%)
HSVhsv(320, 63%, 85%)
CMYKcmyk(0%, 62.7%, 20.7%, 14.9%)
CIE-LABlab(55.70, 62.49, -21.41)
CIE-LCHlch(55.70, 66.06, 341.09°)
OKLaboklab(64.38% 0.1871 -0.0572)
OKLCHoklch(64.38% 0.196 343)
XYZxyz(39.0052, 23.6188, 41.5264)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951AC #51D97E
analogous
#C251D9 #D951AC #D95168
triadic
#D951AC #ACD951 #51ACD9
tetradic
#D951AC #D9C251 #51D97E #5168D9
square
#D951AC #D9C251 #51D97E #5168D9
split-complementary
#D951AC #68D951 #51D9C2
monochromatic
#901F6B #C22A90 #D951AC #E483C4 #EFB5DC

Accessibility & contrast

On white

3.67
#D951AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D951AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951AC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951AC#FFFFFF#000000##000000
##D951AC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AF
Deuteranopia (green-blind)
#848EA9
Tritanopia (blue-blind)
#E65177
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d951ac;
/* rgb */ color: rgb(217, 81, 172);
/* oklch */ color: oklch(64.4% 0.196 343.0);
Tailwind
colors: {
  custom: {
    50: '#e88ac5',
    500: '#d951ac',
    950: '#000000',
  },
}
SCSS
$custom: #d951ac;
$custom-light: #e88ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#d951ac",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 319.853,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.19566,
    "h": 343
  },
  "luminance": 0.23615
}

Semantic roles & 50–950 ramp

primary
#D951AC
secondary
#A8DEBA
accent
#E77841
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #D951AC

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

Preview Lab → · Contrast checker → · Palette generator →

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