#D948C0#D948C0

#D948C0 is a light, highly saturated pink. Relative luminance 0.232; OKLCH L 64.3% C 0.221 H 335.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#D948C0
RGBrgb(217, 72, 192)
HSLhsl(310, 66%, 57%)
HSVhsv(310, 67%, 85%)
CMYKcmyk(0%, 66.8%, 11.5%, 14.9%)
CIE-LABlab(55.27, 68.87, -33.65)
CIE-LCHlch(55.27, 76.66, 333.96°)
OKLaboklab(64.34% 0.201 -0.0917)
OKLCHoklch(64.34% 0.221 335.5)
XYZxyz(40.4475, 23.1956, 52.2059)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948C0 #48D961
analogous
#AA48D9 #D948C0 #D94878
triadic
#D948C0 #C0D948 #48C0D9
tetradic
#D948C0 #D9AA48 #48D961 #4878D9
square
#D948C0 #D9AA48 #48D961 #4878D9
split-complementary
#D948C0 #78D948 #48D9AA
monochromatic
#8A1D77 #BD27A3 #D948C0 #E47BD1 #EEADE3

Accessibility & contrast

On white

3.72
#D948C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#D948C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948C0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948C0#FFFFFF#000000##000000
##D948C01.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4976C3
Deuteranopia (green-blind)
#798CBC
Tritanopia (blue-blind)
#E3527E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d948c0;
/* rgb */ color: rgb(217, 72, 192);
/* oklch */ color: oklch(64.3% 0.221 335.5);
Tailwind
colors: {
  custom: {
    50: '#e886d3',
    500: '#d948c0',
    950: '#000000',
  },
}
SCSS
$custom: #d948c0;
$custom-light: #e886d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d948c0",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 310.345,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64344,
    "c": 0.22094,
    "h": 335.5
  },
  "luminance": 0.23192
}

Semantic roles & 50–950 ramp

primary
#D948C0
secondary
#A1DCAB
accent
#E95C3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D948C0

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

Preview Lab → · Contrast checker → · Palette generator →

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