#D942BE#D942BE

#D942BE is a light, highly saturated pink. Relative luminance 0.224; OKLCH L 63.7% C 0.227 H 336.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#D942BE
RGBrgb(217, 66, 190)
HSLhsl(311, 67%, 55%)
HSVhsv(311, 70%, 85%)
CMYKcmyk(0%, 69.6%, 12.4%, 14.9%)
CIE-LABlab(54.42, 70.73, -33.84)
CIE-LCHlch(54.42, 78.41, 334.43°)
OKLaboklab(63.69% 0.2072 -0.0922)
OKLCHoklch(63.69% 0.227 336)
XYZxyz(39.8583, 22.3694, 50.9237)
Luminance0.2237 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942BE #42D95D
analogous
#A842D9 #D942BE #D94273
triadic
#D942BE #BED942 #42BED9
tetradic
#D942BE #D9A842 #42D95D #4273D9
square
#D942BE #D9A842 #42D95D #4273D9
split-complementary
#D942BE #73D942 #42D9A8
monochromatic
#861B73 #B9259E #D942BE #E375D0 #EDA8E1

Accessibility & contrast

On white

3.84
#D942BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#D942BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942BE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942BE#FFFFFF#000000##000000
##D942BE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#E44C7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d942be;
/* rgb */ color: rgb(217, 66, 190);
/* oklch */ color: oklch(63.7% 0.227 336.0);
Tailwind
colors: {
  custom: {
    50: '#e983d2',
    500: '#d942be',
    950: '#000000',
  },
}
SCSS
$custom: #d942be;
$custom-light: #e983d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d942be",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 310.728,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63693,
    "c": 0.22674,
    "h": 336
  },
  "luminance": 0.22366
}

Semantic roles & 50–950 ramp

primary
#D942BE
secondary
#9CDBA7
accent
#E95D3E
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D942BE

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

Preview Lab → · Contrast checker → · Palette generator →

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