#D845A7#D845A7

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

Color values

HEX#D845A7
RGBrgb(216, 69, 167)
HSLhsl(320, 65%, 56%)
HSVhsv(320, 68%, 85%)
CMYKcmyk(0%, 68.1%, 22.7%, 15.3%)
CIE-LABlab(53.65, 66.24, -21.65)
CIE-LCHlch(53.65, 69.69, 341.90°)
OKLaboklab(62.79% 0.1994 -0.0577)
OKLCHoklch(62.79% 0.208 343.8)
XYZxyz(37.4234, 21.6489, 38.7595)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845A7 #45D876
analogous
#BF45D8 #D845A7 #D8455D
triadic
#D845A7 #A7D845 #45A7D8
tetradic
#D845A7 #D8BF45 #45D876 #455DD8
square
#D845A7 #D8BF45 #45D876 #455DD8
split-complementary
#D845A7 #5DD845 #45D8BF
monochromatic
#861C63 #B92788 #D845A7 #E378BF #EDAAD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D845A7#FFFFFF#000000##000000
##D845A71.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)
#5471AA
Deuteranopia (green-blind)
#8089A4
Tritanopia (blue-blind)
#E64470
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d845a7;
/* rgb */ color: rgb(216, 69, 167);
/* oklch */ color: oklch(62.8% 0.208 343.8);
Tailwind
colors: {
  custom: {
    50: '#e883c1',
    500: '#d845a7',
    950: '#000000',
  },
}
SCSS
$custom: #d845a7;
$custom-light: #e883c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d845a7",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 320,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.20761,
    "h": 343.8
  },
  "luminance": 0.21645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D845A7

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

Preview Lab → · Contrast checker → · Palette generator →

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