#D948AB#D948AB

#D948AB is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.4% C 0.207 H 342.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#D948AB
RGBrgb(217, 72, 171)
HSLhsl(319, 66%, 57%)
HSVhsv(319, 67%, 85%)
CMYKcmyk(0%, 66.8%, 21.2%, 14.9%)
CIE-LABlab(54.38, 65.92, -22.87)
CIE-LCHlch(54.38, 69.77, 340.87°)
OKLaboklab(63.4% 0.1977 -0.0612)
OKLCHoklch(63.4% 0.207 342.8)
XYZxyz(38.2845, 22.3304, 40.8141)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948AB #48D976
analogous
#BE48D9 #D948AB #D94863
triadic
#D948AB #ABD948 #48ABD9
tetradic
#D948AB #D9BE48 #48D976 #4863D9
square
#D948AB #D9BE48 #48D976 #4863D9
split-complementary
#D948AB #63D948 #48D9BE
monochromatic
#8A1D67 #BD278D #D948AB #E47BC2 #EEADDA

Accessibility & contrast

On white

3.84
#D948AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#D948AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948AB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948AB#FFFFFF#000000##000000
##D948AB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AE
Deuteranopia (green-blind)
#818BA8
Tritanopia (blue-blind)
#E64973
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d948ab;
/* rgb */ color: rgb(217, 72, 171);
/* oklch */ color: oklch(63.4% 0.207 342.8);
Tailwind
colors: {
  custom: {
    50: '#e985c4',
    500: '#d948ab',
    950: '#000000',
  },
}
SCSS
$custom: #d948ab;
$custom-light: #e985c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d948ab",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 319.034,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63397,
    "c": 0.20698,
    "h": 342.8
  },
  "luminance": 0.22327
}

Semantic roles & 50–950 ramp

primary
#D948AB
secondary
#A1DCB4
accent
#E9753F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #D948AB

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

Preview Lab → · Contrast checker → · Palette generator →

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