#D942A2#D942A2

#D942A2 is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 62.4% C 0.209 H 345.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D942A2
RGBrgb(217, 66, 162)
HSLhsl(322, 67%, 55%)
HSVhsv(322, 70%, 85%)
CMYKcmyk(0%, 69.6%, 25.3%, 14.9%)
CIE-LABlab(53.23, 66.95, -19.34)
CIE-LCHlch(53.23, 69.69, 343.88°)
OKLaboklab(62.45% 0.2027 -0.0513)
OKLCHoklch(62.45% 0.209 345.8)
XYZxyz(37.0866, 21.2607, 36.3260)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942A2 #42D979
analogous
#C442D9 #D942A2 #D94256
triadic
#D942A2 #A2D942 #42A2D9
tetradic
#D942A2 #D9C442 #42D979 #4256D9
square
#D942A2 #D9C442 #42D979 #4256D9
split-complementary
#D942A2 #56D942 #42D9C4
monochromatic
#861B5F #B92583 #D942A2 #E375BB #EDA8D4

Accessibility & contrast

On white

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

On black

5.25
#D942A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942A2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942A2#FFFFFF#000000##000000
##D942A21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#81889E
Tritanopia (blue-blind)
#E73F6C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d942a2;
/* rgb */ color: rgb(217, 66, 162);
/* oklch */ color: oklch(62.4% 0.209 345.8);
Tailwind
colors: {
  custom: {
    50: '#e982bd',
    500: '#d942a2',
    950: '#000000',
  },
}
SCSS
$custom: #d942a2;
$custom-light: #e982bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d942a2",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 321.854,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62446,
    "c": 0.20904,
    "h": 345.8
  },
  "luminance": 0.21257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D942A2

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

Preview Lab → · Contrast checker → · Palette generator →

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