#D942A4#D942A4

#D942A4 is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 62.5% C 0.210 H 345.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D942A4
RGBrgb(217, 66, 164)
HSLhsl(321, 67%, 55%)
HSVhsv(321, 70%, 85%)
CMYKcmyk(0%, 69.6%, 24.4%, 14.9%)
CIE-LABlab(53.31, 67.20, -20.40)
CIE-LCHlch(53.31, 70.23, 343.11°)
OKLaboklab(62.53% 0.2031 -0.0542)
OKLCHoklch(62.53% 0.21 345)
XYZxyz(37.2658, 21.3323, 37.2698)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942A4 #42D977
analogous
#C342D9 #D942A4 #D94258
triadic
#D942A4 #A4D942 #42A4D9
tetradic
#D942A4 #D9C342 #42D977 #4258D9
square
#D942A4 #D9C342 #42D977 #4258D9
split-complementary
#D942A4 #58D942 #42D9C3
monochromatic
#861B60 #B92585 #D942A4 #E375BD #EDA8D5

Accessibility & contrast

On white

3.99
#D942A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D942A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942A4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942A4#FFFFFF#000000##000000
##D942A41.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#536FA7
Deuteranopia (green-blind)
#8089A0
Tritanopia (blue-blind)
#E7406D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d942a4;
/* rgb */ color: rgb(217, 66, 164);
/* oklch */ color: oklch(62.5% 0.210 345.0);
Tailwind
colors: {
  custom: {
    50: '#e982bf',
    500: '#d942a4',
    950: '#000000',
  },
}
SCSS
$custom: #d942a4;
$custom-light: #e982bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d942a4",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 321.06,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62528,
    "c": 0.21019,
    "h": 345
  },
  "luminance": 0.21328
}

Semantic roles & 50–950 ramp

primary
#D942A4
secondary
#9CDBB2
accent
#E97A3E
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D942A4

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

Preview Lab → · Contrast checker → · Palette generator →

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