#D842B1#D842B1

#D842B1 is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 62.9% C 0.217 H 340.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#D842B1
RGBrgb(216, 66, 177)
HSLhsl(316, 66%, 55%)
HSVhsv(316, 69%, 85%)
CMYKcmyk(0%, 69.4%, 18.1%, 15.3%)
CIE-LABlab(53.68, 68.66, -27.46)
CIE-LCHlch(53.68, 73.95, 338.20°)
OKLaboklab(62.94% 0.2045 -0.074)
OKLCHoklch(62.94% 0.217 340.1)
XYZxyz(38.2039, 21.6733, 43.7578)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D842B1 #42D869
analogous
#B442D8 #D842B1 #D84266
triadic
#D842B1 #B1D842 #42B1D8
tetradic
#D842B1 #D8B442 #42D869 #4266D8
square
#D842B1 #D8B442 #42D869 #4266D8
split-complementary
#D842B1 #66D842 #42D8B4
monochromatic
#841B69 #B72691 #D842B1 #E275C6 #EDA7DB

Accessibility & contrast

On white

3.94
#D842B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#D842B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D842B1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D842B1#FFFFFF#000000##000000
##D842B11.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#7B89AD
Tritanopia (blue-blind)
#E44674
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d842b1;
/* rgb */ color: rgb(216, 66, 177);
/* oklch */ color: oklch(62.9% 0.217 340.1);
Tailwind
colors: {
  custom: {
    50: '#e882c8',
    500: '#d842b1',
    950: '#000000',
  },
}
SCSS
$custom: #d842b1;
$custom-light: #e882c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d842b1",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 315.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62938,
    "c": 0.21747,
    "h": 340.1
  },
  "luminance": 0.2167
}

Semantic roles & 50–950 ramp

primary
#D842B1
secondary
#9CDAAC
accent
#E96B3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D842B1

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

Preview Lab → · Contrast checker → · Palette generator →

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