#D842BB#D842BB

#D842BB is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.4% C 0.224 H 336.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D842BB
RGBrgb(216, 66, 187)
HSLhsl(312, 66%, 55%)
HSVhsv(312, 69%, 85%)
CMYKcmyk(0%, 69.4%, 13.4%, 15.3%)
CIE-LABlab(54.12, 70.06, -32.58)
CIE-LCHlch(54.12, 77.27, 335.06°)
OKLaboklab(63.4% 0.2058 -0.0886)
OKLCHoklch(63.4% 0.224 336.7)
XYZxyz(39.2374, 22.0867, 49.2007)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D842BB #42D85F
analogous
#AA42D8 #D842BB #D84270
triadic
#D842BB #BBD842 #42BBD8
tetradic
#D842BB #D8AA42 #42D85F #4270D8
square
#D842BB #D8AA42 #42D85F #4270D8
split-complementary
#D842BB #70D842 #42D8AA
monochromatic
#841B70 #B7269B #D842BB #E275CD #EDA7E0

Accessibility & contrast

On white

3.88
#D842BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D842BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D842BB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D842BB#FFFFFF#000000##000000
##D842BB1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BE
Deuteranopia (green-blind)
#778AB7
Tritanopia (blue-blind)
#E34B79
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d842bb;
/* rgb */ color: rgb(216, 66, 187);
/* oklch */ color: oklch(63.4% 0.224 336.7);
Tailwind
colors: {
  custom: {
    50: '#e883d0',
    500: '#d842bb',
    950: '#000000',
  },
}
SCSS
$custom: #d842bb;
$custom-light: #e883d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d842bb",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 311.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63402,
    "c": 0.22409,
    "h": 336.7
  },
  "luminance": 0.22083
}

Semantic roles & 50–950 ramp

primary
#D842BB
secondary
#9CDAA8
accent
#E9603F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D842BB

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

Preview Lab → · Contrast checker → · Palette generator →

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