#D840A0#D840A0

#D840A0 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.0% C 0.210 H 346.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D840A0
RGBrgb(216, 64, 160)
HSLhsl(322, 66%, 55%)
HSVhsv(322, 70%, 85%)
CMYKcmyk(0%, 70.4%, 25.9%, 15.3%)
CIE-LABlab(52.74, 67.14, -18.94)
CIE-LCHlch(52.74, 69.76, 344.25°)
OKLaboklab(62.03% 0.2035 -0.0502)
OKLCHoklch(62.03% 0.21 346.2)
XYZxyz(36.4990, 20.8077, 35.3450)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D840A0 #40D878
analogous
#C440D8 #D840A0 #D84054
triadic
#D840A0 #A0D840 #40A0D8
tetradic
#D840A0 #D8C440 #40D878 #4054D8
square
#D840A0 #D8C440 #40D878 #4054D8
split-complementary
#D840A0 #54D840 #40D8C4
monochromatic
#831B5D #B62580 #D840A0 #E273B9 #EDA6D3

Accessibility & contrast

On white

4.07
#D840A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D840A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D840A0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D840A0#FFFFFF#000000##000000
##D840A01.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA3
Deuteranopia (green-blind)
#80879C
Tritanopia (blue-blind)
#E73C6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d840a0;
/* rgb */ color: rgb(216, 64, 160);
/* oklch */ color: oklch(62.0% 0.210 346.2);
Tailwind
colors: {
  custom: {
    50: '#e881bc',
    500: '#d840a0',
    950: '#000000',
  },
}
SCSS
$custom: #d840a0;
$custom-light: #e881bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d840a0",
  "rgb": {
    "r": 216,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 322.105,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62027,
    "c": 0.20958,
    "h": 346.2
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#D840A0
secondary
#9ADAB1
accent
#E97D3F
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D840A0

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

Preview Lab → · Contrast checker → · Palette generator →

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