#D948BC#D948BC

#D948BC is a light, highly saturated pink. Relative luminance 0.230; OKLCH L 64.2% C 0.218 H 336.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#D948BC
RGBrgb(217, 72, 188)
HSLhsl(312, 66%, 57%)
HSVhsv(312, 67%, 85%)
CMYKcmyk(0%, 66.8%, 13.4%, 14.9%)
CIE-LABlab(55.09, 68.29, -31.63)
CIE-LCHlch(55.09, 75.26, 335.15°)
OKLaboklab(64.15% 0.2005 -0.0859)
OKLCHoklch(64.15% 0.218 336.8)
XYZxyz(40.0104, 23.0208, 49.9034)
Luminance0.2302 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948BC #48D965
analogous
#AE48D9 #D948BC #D94874
triadic
#D948BC #BCD948 #48BCD9
tetradic
#D948BC #D9AE48 #48D965 #4874D9
square
#D948BC #D9AE48 #48D965 #4874D9
split-complementary
#D948BC #74D948 #48D9AE
monochromatic
#8A1D74 #BD279F #D948BC #E47BCF #EEADE1

Accessibility & contrast

On white

3.75
#D948BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#D948BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948BC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948BC#FFFFFF#000000##000000
##D948BC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B76BF
Deuteranopia (green-blind)
#7A8CB8
Tritanopia (blue-blind)
#E4507C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d948bc;
/* rgb */ color: rgb(217, 72, 188);
/* oklch */ color: oklch(64.2% 0.218 336.8);
Tailwind
colors: {
  custom: {
    50: '#e886d0',
    500: '#d948bc',
    950: '#000000',
  },
}
SCSS
$custom: #d948bc;
$custom-light: #e886d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d948bc",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 312,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64154,
    "c": 0.21815,
    "h": 336.8
  },
  "luminance": 0.23017
}

Semantic roles & 50–950 ramp

primary
#D948BC
secondary
#A1DCAD
accent
#E9613F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D948BC

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

Preview Lab → · Contrast checker → · Palette generator →

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