#D842A1#D842A1

#D842A1 is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.3% C 0.208 H 345.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D842A1
RGBrgb(216, 66, 161)
HSLhsl(322, 66%, 55%)
HSVhsv(322, 69%, 85%)
CMYKcmyk(0%, 69.4%, 25.5%, 15.3%)
CIE-LABlab(53.03, 66.56, -19.08)
CIE-LCHlch(53.03, 69.24, 344.00°)
OKLaboklab(62.25% 0.2015 -0.0506)
OKLCHoklch(62.25% 0.208 345.9)
XYZxyz(36.7017, 21.0724, 35.8458)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D842A1 #42D879
analogous
#C442D8 #D842A1 #D84256
triadic
#D842A1 #A1D842 #42A1D8
tetradic
#D842A1 #D8C442 #42D879 #4256D8
square
#D842A1 #D8C442 #42D879 #4256D8
split-complementary
#D842A1 #56D842 #42D8C4
monochromatic
#841B5E #B72682 #D842A1 #E275BA #EDA7D3

Accessibility & contrast

On white

4.03
#D842A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D842A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D842A1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D842A1#FFFFFF#000000##000000
##D842A11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#546EA4
Deuteranopia (green-blind)
#81889D
Tritanopia (blue-blind)
#E63F6C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d842a1;
/* rgb */ color: rgb(216, 66, 161);
/* oklch */ color: oklch(62.3% 0.208 345.9);
Tailwind
colors: {
  custom: {
    50: '#e882bd',
    500: '#d842a1',
    950: '#000000',
  },
}
SCSS
$custom: #d842a1;
$custom-light: #e882bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d842a1",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 322,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62252,
    "c": 0.20777,
    "h": 345.9
  },
  "luminance": 0.21069
}

Semantic roles & 50–950 ramp

primary
#D842A1
secondary
#9CDAB3
accent
#E97D3F
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D842A1

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

Preview Lab → · Contrast checker → · Palette generator →

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