#D942A8#D942A8

#D942A8 is a light, highly saturated pink. Relative luminance 0.215; OKLCH L 62.7% C 0.213 H 343.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D942A8
RGBrgb(217, 66, 168)
HSLhsl(319, 67%, 55%)
HSVhsv(319, 70%, 85%)
CMYKcmyk(0%, 69.6%, 22.6%, 14.9%)
CIE-LABlab(53.47, 67.71, -22.51)
CIE-LCHlch(53.47, 71.35, 341.62°)
OKLaboklab(62.7% 0.2039 -0.0601)
OKLCHoklch(62.7% 0.213 343.6)
XYZxyz(37.6327, 21.4791, 39.2022)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942A8 #42D973
analogous
#BE42D9 #D942A8 #D9425C
triadic
#D942A8 #A8D942 #42A8D9
tetradic
#D942A8 #D9BE42 #42D973 #425CD9
square
#D942A8 #D9BE42 #42D973 #425CD9
split-complementary
#D942A8 #5CD942 #42D9BE
monochromatic
#861B63 #B92589 #D942A8 #E375BF #EDA8D7

Accessibility & contrast

On white

3.97
#D942A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D942A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942A8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942A8#FFFFFF#000000##000000
##D942A81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5170AB
Deuteranopia (green-blind)
#7F89A4
Tritanopia (blue-blind)
#E7426F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d942a8;
/* rgb */ color: rgb(217, 66, 168);
/* oklch */ color: oklch(62.7% 0.213 343.6);
Tailwind
colors: {
  custom: {
    50: '#e982c2',
    500: '#d942a8',
    950: '#000000',
  },
}
SCSS
$custom: #d942a8;
$custom-light: #e982c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d942a8",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 168
  },
  "hsl": {
    "h": 319.47,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62696,
    "c": 0.21254,
    "h": 343.6
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#D942A8
secondary
#9CDBB0
accent
#E9763E
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D942A8

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

Preview Lab → · Contrast checker → · Palette generator →

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