#D948BF#D948BF

#D948BF is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.3% C 0.220 H 335.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D948BF
RGBrgb(217, 72, 191)
HSLhsl(311, 66%, 57%)
HSVhsv(311, 67%, 85%)
CMYKcmyk(0%, 66.8%, 12%, 14.9%)
CIE-LABlab(55.23, 68.73, -33.15)
CIE-LCHlch(55.23, 76.30, 334.25°)
OKLaboklab(64.3% 0.2009 -0.0902)
OKLCHoklch(64.3% 0.22 335.8)
XYZxyz(40.3371, 23.1515, 51.6244)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948BF #48D962
analogous
#AB48D9 #D948BF #D94877
triadic
#D948BF #BFD948 #48BFD9
tetradic
#D948BF #D9AB48 #48D962 #4877D9
square
#D948BF #D9AB48 #48D962 #4877D9
split-complementary
#D948BF #77D948 #48D9AB
monochromatic
#8A1D76 #BD27A2 #D948BF #E47BD1 #EEADE2

Accessibility & contrast

On white

3.73
#D948BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D948BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948BF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948BF#FFFFFF#000000##000000
##D948BF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#798CBB
Tritanopia (blue-blind)
#E4517D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d948bf;
/* rgb */ color: rgb(217, 72, 191);
/* oklch */ color: oklch(64.3% 0.220 335.8);
Tailwind
colors: {
  custom: {
    50: '#e886d2',
    500: '#d948bf',
    950: '#000000',
  },
}
SCSS
$custom: #d948bf;
$custom-light: #e886d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d948bf",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 310.759,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64296,
    "c": 0.22024,
    "h": 335.8
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

primary
#D948BF
secondary
#A1DCAB
accent
#E95E3F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D948BF

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

Preview Lab → · Contrast checker → · Palette generator →

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