#D948AF#D948AF

#D948AF is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.6% C 0.209 H 341.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D948AF
RGBrgb(217, 72, 175)
HSLhsl(317, 66%, 57%)
HSVhsv(317, 67%, 85%)
CMYKcmyk(0%, 66.8%, 19.4%, 14.9%)
CIE-LABlab(54.54, 66.46, -24.95)
CIE-LCHlch(54.54, 70.98, 339.42°)
OKLaboklab(63.57% 0.1985 -0.067)
OKLCHoklch(63.57% 0.21 341.3)
XYZxyz(38.6716, 22.4853, 42.8526)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948AF #48D972
analogous
#BA48D9 #D948AF #D94867
triadic
#D948AF #AFD948 #48AFD9
tetradic
#D948AF #D9BA48 #48D972 #4867D9
square
#D948AF #D9BA48 #48D972 #4867D9
split-complementary
#D948AF #67D948 #48D9BA
monochromatic
#8A1D6A #BD2791 #D948AF #E47BC5 #EEADDB

Accessibility & contrast

On white

3.82
#D948AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D948AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948AF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948AF#FFFFFF#000000##000000
##D948AF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5373B2
Deuteranopia (green-blind)
#7F8BAC
Tritanopia (blue-blind)
#E64A75
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d948af;
/* rgb */ color: rgb(217, 72, 175);
/* oklch */ color: oklch(63.6% 0.209 341.3);
Tailwind
colors: {
  custom: {
    50: '#e985c7',
    500: '#d948af',
    950: '#000000',
  },
}
SCSS
$custom: #d948af;
$custom-light: #e985c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d948af",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 317.379,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.2095,
    "h": 341.3
  },
  "luminance": 0.22482
}

Semantic roles & 50–950 ramp

primary
#D948AF
secondary
#A1DCB2
accent
#E9703F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D948AF

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

Preview Lab → · Contrast checker → · Palette generator →

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