#D942AB#D942AB

#D942AB is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 62.8% C 0.214 H 342.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D942AB
RGBrgb(217, 66, 171)
HSLhsl(318, 67%, 55%)
HSVhsv(318, 70%, 85%)
CMYKcmyk(0%, 69.6%, 21.2%, 14.9%)
CIE-LABlab(53.59, 68.11, -24.07)
CIE-LCHlch(53.59, 72.23, 340.53°)
OKLaboklab(62.82% 0.2044 -0.0645)
OKLCHoklch(62.82% 0.214 342.5)
XYZxyz(37.9154, 21.5922, 40.6911)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942AB #42D970
analogous
#BB42D9 #D942AB #D9425F
triadic
#D942AB #ABD942 #42ABD9
tetradic
#D942AB #D9BB42 #42D970 #425FD9
square
#D942AB #D9BB42 #42D970 #425FD9
split-complementary
#D942AB #5FD942 #42D9BB
monochromatic
#861B65 #B9258C #D942AB #E375C2 #EDA8D8

Accessibility & contrast

On white

3.95
#D942AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D942AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942AB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942AB#FFFFFF#000000##000000
##D942AB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5070AE
Deuteranopia (green-blind)
#7E89A7
Tritanopia (blue-blind)
#E64371
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d942ab;
/* rgb */ color: rgb(217, 66, 171);
/* oklch */ color: oklch(62.8% 0.214 342.5);
Tailwind
colors: {
  custom: {
    50: '#e982c4',
    500: '#d942ab',
    950: '#000000',
  },
}
SCSS
$custom: #d942ab;
$custom-light: #e982c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d942ab",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 318.278,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62824,
    "c": 0.21435,
    "h": 342.5
  },
  "luminance": 0.21588
}

Semantic roles & 50–950 ramp

primary
#D942AB
secondary
#9CDBAF
accent
#E9723E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #D942AB

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

Preview Lab → · Contrast checker → · Palette generator →

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