#D845AB#D845AB

#D845AB is a light, highly saturated pink. Relative luminance 0.218; OKLCH L 63.0% C 0.210 H 342.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D845AB
RGBrgb(216, 69, 171)
HSLhsl(318, 65%, 56%)
HSVhsv(318, 68%, 85%)
CMYKcmyk(0%, 68.1%, 20.8%, 15.3%)
CIE-LABlab(53.81, 66.77, -23.75)
CIE-LCHlch(53.81, 70.87, 340.42°)
OKLaboklab(62.96% 0.2002 -0.0636)
OKLCHoklch(62.96% 0.21 342.4)
XYZxyz(37.7989, 21.7992, 40.7372)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845AB #45D872
analogous
#BB45D8 #D845AB #D84561
triadic
#D845AB #ABD845 #45ABD8
tetradic
#D845AB #D8BB45 #45D872 #4561D8
square
#D845AB #D8BB45 #45D872 #4561D8
split-complementary
#D845AB #61D845 #45D8BB
monochromatic
#861C66 #B9278C #D845AB #E378C2 #EDAAD9

Accessibility & contrast

On white

3.92
#D845AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D845AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845AB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845AB#FFFFFF#000000##000000
##D845AB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5271AE
Deuteranopia (green-blind)
#7F89A8
Tritanopia (blue-blind)
#E54672
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d845ab;
/* rgb */ color: rgb(216, 69, 171);
/* oklch */ color: oklch(63.0% 0.210 342.4);
Tailwind
colors: {
  custom: {
    50: '#e884c4',
    500: '#d845ab',
    950: '#000000',
  },
}
SCSS
$custom: #d845ab;
$custom-light: #e884c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d845ab",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 318.367,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62955,
    "c": 0.21006,
    "h": 342.4
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#D845AB
secondary
#9EDBB1
accent
#E87340
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #D845AB

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

Preview Lab → · Contrast checker → · Palette generator →

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