#D942B2#D942B2

#D942B2 is a light, highly saturated pink. Relative luminance 0.219; OKLCH L 63.1% C 0.219 H 340.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D942B2
RGBrgb(217, 66, 178)
HSLhsl(315, 67%, 55%)
HSVhsv(315, 70%, 85%)
CMYKcmyk(0%, 69.6%, 18%, 14.9%)
CIE-LABlab(53.88, 69.04, -27.71)
CIE-LCHlch(53.88, 74.40, 338.14°)
OKLaboklab(63.13% 0.2056 -0.0747)
OKLCHoklch(63.13% 0.219 340)
XYZxyz(38.6004, 21.8662, 44.2985)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942B2 #42D969
analogous
#B542D9 #D942B2 #D94266
triadic
#D942B2 #B2D942 #42B2D9
tetradic
#D942B2 #D9B542 #42D969 #4266D9
square
#D942B2 #D9B542 #42D969 #4266D9
split-complementary
#D942B2 #66D942 #42D9B5
monochromatic
#861B6A #B92593 #D942B2 #E375C7 #EDA8DC

Accessibility & contrast

On white

3.91
#D942B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D942B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942B2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942B2#FFFFFF#000000##000000
##D942B21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#7C89AE
Tritanopia (blue-blind)
#E54674
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d942b2;
/* rgb */ color: rgb(217, 66, 178);
/* oklch */ color: oklch(63.1% 0.219 340.0);
Tailwind
colors: {
  custom: {
    50: '#e983c9',
    500: '#d942b2',
    950: '#000000',
  },
}
SCSS
$custom: #d942b2;
$custom-light: #e983c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d942b2",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 315.497,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63133,
    "c": 0.21875,
    "h": 340
  },
  "luminance": 0.21862
}

Semantic roles & 50–950 ramp

primary
#D942B2
secondary
#9CDBAC
accent
#E96B3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D942B2

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

Preview Lab → · Contrast checker → · Palette generator →

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