#D942A5#D942A5

#D942A5 is a light, highly saturated pink. Relative luminance 0.214; OKLCH L 62.6% C 0.211 H 344.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D942A5
RGBrgb(217, 66, 165)
HSLhsl(321, 67%, 55%)
HSVhsv(321, 70%, 85%)
CMYKcmyk(0%, 69.6%, 24%, 14.9%)
CIE-LABlab(53.35, 67.33, -20.93)
CIE-LCHlch(53.35, 70.50, 342.73°)
OKLaboklab(62.57% 0.2033 -0.0557)
OKLCHoklch(62.57% 0.211 344.7)
XYZxyz(37.3564, 21.3686, 37.7472)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942A5 #42D976
analogous
#C142D9 #D942A5 #D94259
triadic
#D942A5 #A5D942 #42A5D9
tetradic
#D942A5 #D9C142 #42D976 #4259D9
square
#D942A5 #D9C142 #42D976 #4259D9
split-complementary
#D942A5 #59D942 #42D9C1
monochromatic
#861B61 #B92586 #D942A5 #E375BD #EDA8D6

Accessibility & contrast

On white

3.98
#D942A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D942A5#FFFFFF#000000##000000
##D942A51.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#536FA8
Deuteranopia (green-blind)
#8089A1
Tritanopia (blue-blind)
#E7406E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d942a5;
/* rgb */ color: rgb(217, 66, 165);
/* oklch */ color: oklch(62.6% 0.211 344.7);
Tailwind
colors: {
  custom: {
    50: '#e982bf',
    500: '#d942a5',
    950: '#000000',
  },
}
SCSS
$custom: #d942a5;
$custom-light: #e982bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d942a5",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 320.662,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6257,
    "c": 0.21077,
    "h": 344.7
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D942A5

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

Preview Lab → · Contrast checker → · Palette generator →

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