#D942A1#D942A1

#D942A1 is a light, highly saturated pink. Relative luminance 0.212; OKLCH L 62.4% C 0.208 H 346.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D942A1
RGBrgb(217, 66, 161)
HSLhsl(322, 67%, 55%)
HSVhsv(322, 70%, 85%)
CMYKcmyk(0%, 69.6%, 25.8%, 14.9%)
CIE-LABlab(53.20, 66.82, -18.81)
CIE-LCHlch(53.20, 69.42, 344.27°)
OKLaboklab(62.41% 0.2024 -0.0498)
OKLCHoklch(62.41% 0.208 346.2)
XYZxyz(36.9981, 21.2253, 35.8597)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942A1 #42D97A
analogous
#C642D9 #D942A1 #D94255
triadic
#D942A1 #A1D942 #42A1D9
tetradic
#D942A1 #D9C642 #42D97A #4255D9
square
#D942A1 #D9C642 #42D97A #4255D9
split-complementary
#D942A1 #55D942 #42D9C6
monochromatic
#861B5E #B92582 #D942A1 #E375BA #EDA8D4

Accessibility & contrast

On white

4.00
#D942A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D942A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942A1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942A1#FFFFFF#000000##000000
##D942A11.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#81889D
Tritanopia (blue-blind)
#E83E6C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d942a1;
/* rgb */ color: rgb(217, 66, 161);
/* oklch */ color: oklch(62.4% 0.208 346.2);
Tailwind
colors: {
  custom: {
    50: '#e982bd',
    500: '#d942a1',
    950: '#000000',
  },
}
SCSS
$custom: #d942a1;
$custom-light: #e982bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d942a1",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 322.252,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62405,
    "c": 0.20848,
    "h": 346.2
  },
  "luminance": 0.21221
}

Semantic roles & 50–950 ramp

primary
#D942A1
secondary
#9CDBB3
accent
#E97E3E
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D942A1

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

Preview Lab → · Contrast checker → · Palette generator →

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