#D845A6#D845A6

#D845A6 is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 62.7% C 0.207 H 344.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D845A6
RGBrgb(216, 69, 166)
HSLhsl(320, 65%, 56%)
HSVhsv(320, 68%, 85%)
CMYKcmyk(0%, 68.1%, 23.1%, 15.3%)
CIE-LABlab(53.61, 66.11, -21.13)
CIE-LCHlch(53.61, 69.41, 342.28°)
OKLaboklab(62.74% 0.1992 -0.0563)
OKLCHoklch(62.74% 0.207 344.2)
XYZxyz(37.3313, 21.6121, 38.2745)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845A6 #45D877
analogous
#C045D8 #D845A6 #D8455C
triadic
#D845A6 #A6D845 #45A6D8
tetradic
#D845A6 #D8C045 #45D877 #455CD8
square
#D845A6 #D8C045 #45D877 #455CD8
split-complementary
#D845A6 #5CD845 #45D8C0
monochromatic
#861C62 #B92787 #D845A6 #E378BE #EDAAD6

Accessibility & contrast

On white

3.95
#D845A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D845A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845A6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845A6#FFFFFF#000000##000000
##D845A61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5470A9
Deuteranopia (green-blind)
#8089A3
Tritanopia (blue-blind)
#E6446F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d845a6;
/* rgb */ color: rgb(216, 69, 166);
/* oklch */ color: oklch(62.7% 0.207 344.2);
Tailwind
colors: {
  custom: {
    50: '#e883c0',
    500: '#d845a6',
    950: '#000000',
  },
}
SCSS
$custom: #d845a6;
$custom-light: #e883c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d845a6",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 320.408,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62743,
    "c": 0.20702,
    "h": 344.2
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

primary
#D845A6
secondary
#9EDBB3
accent
#E87940
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D845A6

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

Preview Lab → · Contrast checker → · Palette generator →

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