#D942A7#D942A7

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

Color values

HEX#D942A7
RGBrgb(217, 66, 167)
HSLhsl(320, 67%, 55%)
HSVhsv(320, 70%, 85%)
CMYKcmyk(0%, 69.6%, 23%, 14.9%)
CIE-LABlab(53.43, 67.58, -21.98)
CIE-LCHlch(53.43, 71.07, 341.98°)
OKLaboklab(62.65% 0.2037 -0.0586)
OKLCHoklch(62.65% 0.212 343.9)
XYZxyz(37.5399, 21.4420, 38.7134)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942A7 #42D974
analogous
#C042D9 #D942A7 #D9425B
triadic
#D942A7 #A7D942 #42A7D9
tetradic
#D942A7 #D9C042 #42D974 #425BD9
square
#D942A7 #D9C042 #42D974 #425BD9
split-complementary
#D942A7 #5BD942 #42D9C0
monochromatic
#861B62 #B92588 #D942A7 #E375BF #EDA8D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D942A7#FFFFFF#000000##000000
##D942A71.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)
#5270AA
Deuteranopia (green-blind)
#7F89A3
Tritanopia (blue-blind)
#E7416F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d942a7;
/* rgb */ color: rgb(217, 66, 167);
/* oklch */ color: oklch(62.7% 0.212 343.9);
Tailwind
colors: {
  custom: {
    50: '#e982c1',
    500: '#d942a7',
    950: '#000000',
  },
}
SCSS
$custom: #d942a7;
$custom-light: #e982c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d942a7",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 319.868,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62653,
    "c": 0.21194,
    "h": 343.9
  },
  "luminance": 0.21438
}

Semantic roles & 50–950 ramp

primary
#D942A7
secondary
#9CDBB1
accent
#E9773E
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D942A7

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

Preview Lab → · Contrast checker → · Palette generator →

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