#D951B3#D951B3

#D951B3 is a light, highly saturated pink. Relative luminance 0.239; OKLCH L 64.7% C 0.200 H 340.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D951B3
RGBrgb(217, 81, 179)
HSLhsl(317, 64%, 58%)
HSVhsv(317, 63%, 85%)
CMYKcmyk(0%, 62.7%, 17.5%, 14.9%)
CIE-LABlab(55.98, 63.47, -25.04)
CIE-LCHlch(55.98, 68.23, 338.47°)
OKLaboklab(64.68% 0.1885 -0.0673)
OKLCHoklch(64.68% 0.2 340.3)
XYZxyz(39.6953, 23.8948, 45.1606)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951B3 #51D977
analogous
#BB51D9 #D951B3 #D9516F
triadic
#D951B3 #B3D951 #51B3D9
tetradic
#D951B3 #D9BB51 #51D977 #516FD9
square
#D951B3 #D9BB51 #51D977 #516FD9
split-complementary
#D951B3 #6FD951 #51D9BB
monochromatic
#901F71 #C22A98 #D951B3 #E483C9 #EFB5DF

Accessibility & contrast

On white

3.63
#D951B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D951B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951B3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951B3#FFFFFF#000000##000000
##D951B31.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B6
Deuteranopia (green-blind)
#828EB0
Tritanopia (blue-blind)
#E5547B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d951b3;
/* rgb */ color: rgb(217, 81, 179);
/* oklch */ color: oklch(64.7% 0.200 340.3);
Tailwind
colors: {
  custom: {
    50: '#e88aca',
    500: '#d951b3',
    950: '#000000',
  },
}
SCSS
$custom: #d951b3;
$custom-light: #e88aca;
$custom-dark: #000000;
JSON
{
  "hex": "#d951b3",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 316.765,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64678,
    "c": 0.2002,
    "h": 340.3
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#D951B3
secondary
#A8DEB7
accent
#E76F41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D951B3

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

Preview Lab → · Contrast checker → · Palette generator →

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