#D845A1#D845A1

#D845A1 is a light, highly saturated pink. Relative luminance 0.214; OKLCH L 62.5% C 0.204 H 346.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D845A1
RGBrgb(216, 69, 161)
HSLhsl(322, 65%, 56%)
HSVhsv(322, 68%, 85%)
CMYKcmyk(0%, 68.1%, 25.5%, 15.3%)
CIE-LABlab(53.42, 65.47, -18.49)
CIE-LCHlch(53.42, 68.03, 344.23°)
OKLaboklab(62.54% 0.1982 -0.0489)
OKLCHoklch(62.54% 0.204 346.1)
XYZxyz(36.8815, 21.4322, 35.9058)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845A1 #45D87C
analogous
#C545D8 #D845A1 #D84557
triadic
#D845A1 #A1D845 #45A1D8
tetradic
#D845A1 #D8C545 #45D87C #4557D8
square
#D845A1 #D8C545 #45D87C #4557D8
split-complementary
#D845A1 #57D845 #45D8C5
monochromatic
#861C5F #B92782 #D845A1 #E378BB #EDAAD4

Accessibility & contrast

On white

3.97
#D845A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D845A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845A1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845A1#FFFFFF#000000##000000
##D845A11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#82899E
Tritanopia (blue-blind)
#E6426D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d845a1;
/* rgb */ color: rgb(216, 69, 161);
/* oklch */ color: oklch(62.5% 0.204 346.1);
Tailwind
colors: {
  custom: {
    50: '#e883bd',
    500: '#d845a1',
    950: '#000000',
  },
}
SCSS
$custom: #d845a1;
$custom-light: #e883bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d845a1",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 322.449,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62538,
    "c": 0.20412,
    "h": 346.1
  },
  "luminance": 0.21428
}

Semantic roles & 50–950 ramp

primary
#D845A1
secondary
#9EDBB5
accent
#E87F40
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D845A1

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

Preview Lab → · Contrast checker → · Palette generator →

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