#D842B6#D842B6

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

Color values

HEX#D842B6
RGBrgb(216, 66, 182)
HSLhsl(314, 66%, 55%)
HSVhsv(314, 69%, 85%)
CMYKcmyk(0%, 69.4%, 15.7%, 15.3%)
CIE-LABlab(53.90, 69.35, -30.03)
CIE-LCHlch(53.90, 75.57, 336.59°)
OKLaboklab(63.17% 0.2052 -0.0813)
OKLCHoklch(63.17% 0.221 338.4)
XYZxyz(38.7114, 21.8763, 46.4307)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D842B6 #42D864
analogous
#AF42D8 #D842B6 #D8426B
triadic
#D842B6 #B6D842 #42B6D8
tetradic
#D842B6 #D8AF42 #42D864 #426BD8
square
#D842B6 #D8AF42 #42D864 #426BD8
split-complementary
#D842B6 #6BD842 #42D8AF
monochromatic
#841B6C #B72696 #D842B6 #E275CA #EDA7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D842B6#FFFFFF#000000##000000
##D842B61.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)
#4972B9
Deuteranopia (green-blind)
#7989B2
Tritanopia (blue-blind)
#E44977
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d842b6;
/* rgb */ color: rgb(216, 66, 182);
/* oklch */ color: oklch(63.2% 0.221 338.4);
Tailwind
colors: {
  custom: {
    50: '#e883cc',
    500: '#d842b6',
    950: '#000000',
  },
}
SCSS
$custom: #d842b6;
$custom-light: #e883cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d842b6",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 313.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63167,
    "c": 0.22074,
    "h": 338.4
  },
  "luminance": 0.21873
}

Semantic roles & 50–950 ramp

primary
#D842B6
secondary
#9CDAAA
accent
#E9663F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D842B6

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

Preview Lab → · Contrast checker → · Palette generator →

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