#D948A6#D948A6

#D948A6 is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.2% C 0.204 H 344.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D948A6
RGBrgb(217, 72, 166)
HSLhsl(321, 66%, 57%)
HSVhsv(321, 67%, 85%)
CMYKcmyk(0%, 66.8%, 23.5%, 14.9%)
CIE-LABlab(54.18, 65.25, -20.25)
CIE-LCHlch(54.18, 68.32, 342.76°)
OKLaboklab(63.19% 0.1967 -0.0538)
OKLCHoklch(63.19% 0.204 344.7)
XYZxyz(37.8169, 22.1434, 38.3515)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948A6 #48D97B
analogous
#C348D9 #D948A6 #D9485E
triadic
#D948A6 #A6D948 #48A6D9
tetradic
#D948A6 #D9C348 #48D97B #485ED9
square
#D948A6 #D9C348 #48D97B #485ED9
split-complementary
#D948A6 #5ED948 #48D9C3
monochromatic
#8A1D64 #BD2788 #D948A6 #E47BBF #EEADD7

Accessibility & contrast

On white

3.87
#D948A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D948A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948A6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948A6#FFFFFF#000000##000000
##D948A61.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772A9
Deuteranopia (green-blind)
#828AA3
Tritanopia (blue-blind)
#E74771
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d948a6;
/* rgb */ color: rgb(217, 72, 166);
/* oklch */ color: oklch(63.2% 0.204 344.7);
Tailwind
colors: {
  custom: {
    50: '#e985c0',
    500: '#d948a6',
    950: '#000000',
  },
}
SCSS
$custom: #d948a6;
$custom-light: #e985c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d948a6",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 321.103,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63188,
    "c": 0.20397,
    "h": 344.7
  },
  "luminance": 0.2214
}

Semantic roles & 50–950 ramp

primary
#D948A6
secondary
#A1DCB6
accent
#E97B3F
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D948A6

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

Preview Lab → · Contrast checker → · Palette generator →

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