#D948B2#D948B2

#D948B2 is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 63.7% C 0.211 H 340.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D948B2
RGBrgb(217, 72, 178)
HSLhsl(316, 66%, 57%)
HSVhsv(316, 67%, 85%)
CMYKcmyk(0%, 66.8%, 18%, 14.9%)
CIE-LABlab(54.66, 66.87, -26.50)
CIE-LCHlch(54.66, 71.93, 338.38°)
OKLaboklab(63.7% 0.199 -0.0714)
OKLCHoklch(63.7% 0.211 340.3)
XYZxyz(38.9695, 22.6044, 44.4216)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948B2 #48D96F
analogous
#B848D9 #D948B2 #D9486A
triadic
#D948B2 #B2D948 #48B2D9
tetradic
#D948B2 #D9B848 #48D96F #486AD9
square
#D948B2 #D9B848 #48D96F #486AD9
split-complementary
#D948B2 #6AD948 #48D9B8
monochromatic
#8A1D6D #BD2794 #D948B2 #E47BC7 #EEADDD

Accessibility & contrast

On white

3.80
#D948B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D948B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948B2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948B2#FFFFFF#000000##000000
##D948B21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#7E8BAE
Tritanopia (blue-blind)
#E54C77
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d948b2;
/* rgb */ color: rgb(217, 72, 178);
/* oklch */ color: oklch(63.7% 0.211 340.3);
Tailwind
colors: {
  custom: {
    50: '#e885c9',
    500: '#d948b2',
    950: '#000000',
  },
}
SCSS
$custom: #d948b2;
$custom-light: #e885c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d948b2",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 316.138,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.637,
    "c": 0.21142,
    "h": 340.3
  },
  "luminance": 0.22601
}

Semantic roles & 50–950 ramp

primary
#D948B2
secondary
#A1DCB1
accent
#E96D3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D948B2

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

Preview Lab → · Contrast checker → · Palette generator →

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