#D951B1#D951B1

#D951B1 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.6% C 0.199 H 341.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D951B1
RGBrgb(217, 81, 177)
HSLhsl(318, 64%, 58%)
HSVhsv(318, 63%, 85%)
CMYKcmyk(0%, 62.7%, 18.4%, 14.9%)
CIE-LABlab(55.90, 63.19, -24.01)
CIE-LCHlch(55.90, 67.60, 339.19°)
OKLaboklab(64.59% 0.1882 -0.0644)
OKLCHoklch(64.59% 0.199 341.1)
XYZxyz(39.4945, 23.8145, 44.1031)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951B1 #51D979
analogous
#BD51D9 #D951B1 #D9516D
triadic
#D951B1 #B1D951 #51B1D9
tetradic
#D951B1 #D9BD51 #51D979 #516DD9
square
#D951B1 #D9BD51 #51D979 #516DD9
split-complementary
#D951B1 #6DD951 #51D9BD
monochromatic
#901F6F #C22A96 #D951B1 #E483C8 #EFB5DE

Accessibility & contrast

On white

3.64
#D951B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D951B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951B1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951B1#FFFFFF#000000##000000
##D951B11.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B4
Deuteranopia (green-blind)
#838EAE
Tritanopia (blue-blind)
#E5537A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d951b1;
/* rgb */ color: rgb(217, 81, 177);
/* oklch */ color: oklch(64.6% 0.199 341.1);
Tailwind
colors: {
  custom: {
    50: '#e88ac8',
    500: '#d951b1',
    950: '#000000',
  },
}
SCSS
$custom: #d951b1;
$custom-light: #e88ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#d951b1",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 317.647,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64593,
    "c": 0.19888,
    "h": 341.1
  },
  "luminance": 0.23811
}

Semantic roles & 50–950 ramp

primary
#D951B1
secondary
#A8DEB8
accent
#E77241
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D951B1

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

Preview Lab → · Contrast checker → · Palette generator →

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