#D951A5#D951A5

#D951A5 is a light, vivid pink. Relative luminance 0.234; OKLCH L 64.1% C 0.191 H 345.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D951A5
RGBrgb(217, 81, 165)
HSLhsl(323, 64%, 58%)
HSVhsv(323, 63%, 85%)
CMYKcmyk(0%, 62.7%, 24%, 14.9%)
CIE-LABlab(55.44, 61.55, -17.74)
CIE-LCHlch(55.44, 64.05, 343.92°)
OKLaboklab(64.1% 0.1856 -0.047)
OKLCHoklch(64.1% 0.191 345.8)
XYZxyz(38.3506, 23.3569, 38.0786)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951A5 #51D985
analogous
#C951D9 #D951A5 #D95161
triadic
#D951A5 #A5D951 #51A5D9
tetradic
#D951A5 #D9C951 #51D985 #5161D9
square
#D951A5 #D9C951 #51D985 #5161D9
split-complementary
#D951A5 #61D951 #51D9C9
monochromatic
#901F65 #C22A88 #D951A5 #E483BF #EFB5D9

Accessibility & contrast

On white

3.70
#D951A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D951A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951A5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951A5#FFFFFF#000000##000000
##D951A51.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F76A8
Deuteranopia (green-blind)
#868DA2
Tritanopia (blue-blind)
#E74F74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d951a5;
/* rgb */ color: rgb(217, 81, 165);
/* oklch */ color: oklch(64.1% 0.191 345.8);
Tailwind
colors: {
  custom: {
    50: '#e88abf',
    500: '#d951a5',
    950: '#000000',
  },
}
SCSS
$custom: #d951a5;
$custom-light: #e88abf;
$custom-dark: #000000;
JSON
{
  "hex": "#d951a5",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 322.941,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.641,
    "c": 0.1914,
    "h": 345.8
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#D951A5
secondary
#A8DEBD
accent
#E78041
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D951A5

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

Preview Lab → · Contrast checker → · Palette generator →

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