#D942B0#D942B0

#D942B0 is a light, highly saturated pink. Relative luminance 0.218; OKLCH L 63.0% C 0.217 H 340.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D942B0
RGBrgb(217, 66, 176)
HSLhsl(316, 67%, 55%)
HSVhsv(316, 70%, 85%)
CMYKcmyk(0%, 69.6%, 18.9%, 14.9%)
CIE-LABlab(53.80, 68.77, -26.67)
CIE-LCHlch(53.80, 73.76, 338.80°)
OKLaboklab(63.04% 0.2053 -0.0718)
OKLCHoklch(63.04% 0.217 340.7)
XYZxyz(38.4010, 21.7864, 43.2487)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942B0 #42D96B
analogous
#B642D9 #D942B0 #D94265
triadic
#D942B0 #B0D942 #42B0D9
tetradic
#D942B0 #D9B642 #42D96B #4265D9
square
#D942B0 #D9B642 #42D96B #4265D9
split-complementary
#D942B0 #65D942 #42D9B6
monochromatic
#861B69 #B92591 #D942B0 #E375C5 #EDA8DB

Accessibility & contrast

On white

3.92
#D942B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D942B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942B0
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942B0#FFFFFF#000000##000000
##D942B01.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B3
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#E64673
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d942b0;
/* rgb */ color: rgb(217, 66, 176);
/* oklch */ color: oklch(63.0% 0.217 340.7);
Tailwind
colors: {
  custom: {
    50: '#e982c8',
    500: '#d942b0',
    950: '#000000',
  },
}
SCSS
$custom: #d942b0;
$custom-light: #e982c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d942b0",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 316.291,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63044,
    "c": 0.21747,
    "h": 340.7
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#D942B0
secondary
#9CDBAD
accent
#E96D3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D942B0

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

Preview Lab → · Contrast checker → · Palette generator →

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