#D942BB#D942BB

#D942BB is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.5% C 0.225 H 337.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D942BB
RGBrgb(217, 66, 187)
HSLhsl(312, 67%, 55%)
HSVhsv(312, 70%, 85%)
CMYKcmyk(0%, 69.6%, 13.8%, 14.9%)
CIE-LABlab(54.28, 70.30, -32.32)
CIE-LCHlch(54.28, 77.37, 335.31°)
OKLaboklab(63.55% 0.2068 -0.0878)
OKLCHoklch(63.55% 0.225 337)
XYZxyz(39.5338, 22.2396, 49.2146)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942BB #42D960
analogous
#AC42D9 #D942BB #D9426F
triadic
#D942BB #BBD942 #42BBD9
tetradic
#D942BB #D9AC42 #42D960 #426FD9
square
#D942BB #D9AC42 #42D960 #426FD9
split-complementary
#D942BB #6FD942 #42D9AC
monochromatic
#861B70 #B9259B #D942BB #E375CD #EDA8E0

Accessibility & contrast

On white

3.86
#D942BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D942BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942BB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942BB#FFFFFF#000000##000000
##D942BB1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#E44B79
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d942bb;
/* rgb */ color: rgb(217, 66, 187);
/* oklch */ color: oklch(63.5% 0.225 337.0);
Tailwind
colors: {
  custom: {
    50: '#e983d0',
    500: '#d942bb',
    950: '#000000',
  },
}
SCSS
$custom: #d942bb;
$custom-light: #e983d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d942bb",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 311.921,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63549,
    "c": 0.22468,
    "h": 337
  },
  "luminance": 0.22236
}

Semantic roles & 50–950 ramp

primary
#D942BB
secondary
#9CDBA8
accent
#E9603E
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D942BB

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

Preview Lab → · Contrast checker → · Palette generator →

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