#D845A8#D845A8

#D845A8 is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 62.8% C 0.208 H 343.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D845A8
RGBrgb(216, 69, 168)
HSLhsl(320, 65%, 56%)
HSVhsv(320, 68%, 85%)
CMYKcmyk(0%, 68.1%, 22.2%, 15.3%)
CIE-LABlab(53.69, 66.37, -22.18)
CIE-LCHlch(53.69, 69.98, 341.52°)
OKLaboklab(62.83% 0.1996 -0.0592)
OKLCHoklch(62.83% 0.208 343.5)
XYZxyz(37.5162, 21.6861, 39.2482)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845A8 #45D875
analogous
#BE45D8 #D845A8 #D8455E
triadic
#D845A8 #A8D845 #45A8D8
tetradic
#D845A8 #D8BE45 #45D875 #455ED8
square
#D845A8 #D8BE45 #45D875 #455ED8
split-complementary
#D845A8 #5ED845 #45D8BE
monochromatic
#861C64 #B92789 #D845A8 #E378C0 #EDAAD7

Accessibility & contrast

On white

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

On black

5.34
#D845A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845A8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845A8#FFFFFF#000000##000000
##D845A81.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AB
Deuteranopia (green-blind)
#8089A5
Tritanopia (blue-blind)
#E64570
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d845a8;
/* rgb */ color: rgb(216, 69, 168);
/* oklch */ color: oklch(62.8% 0.208 343.5);
Tailwind
colors: {
  custom: {
    50: '#e884c2',
    500: '#d845a8',
    950: '#000000',
  },
}
SCSS
$custom: #d845a8;
$custom-light: #e884c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d845a8",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 319.592,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62827,
    "c": 0.20822,
    "h": 343.5
  },
  "luminance": 0.21682
}

Semantic roles & 50–950 ramp

primary
#D845A8
secondary
#9EDBB2
accent
#E87740
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D845A8

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

Preview Lab → · Contrast checker → · Palette generator →

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