#D845AF#D845AF

#D845AF is a light, highly saturated pink. Relative luminance 0.220; OKLCH L 63.1% C 0.213 H 340.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#D845AF
RGBrgb(216, 69, 175)
HSLhsl(317, 65%, 56%)
HSVhsv(317, 68%, 85%)
CMYKcmyk(0%, 68.1%, 19%, 15.3%)
CIE-LABlab(53.98, 67.31, -25.83)
CIE-LCHlch(53.98, 72.10, 339.01°)
OKLaboklab(63.13% 0.2009 -0.0695)
OKLCHoklch(63.13% 0.213 340.9)
XYZxyz(38.1859, 21.9540, 42.7756)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845AF #45D86E
analogous
#B745D8 #D845AF #D84565
triadic
#D845AF #AFD845 #45AFD8
tetradic
#D845AF #D8B745 #45D86E #4565D8
square
#D845AF #D8B745 #45D86E #4565D8
split-complementary
#D845AF #65D845 #45D8B7
monochromatic
#861C69 #B92790 #D845AF #E378C5 #EDAADB

Accessibility & contrast

On white

3.90
#D845AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#D845AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845AF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845AF#FFFFFF#000000##000000
##D845AF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#7D8AAB
Tritanopia (blue-blind)
#E54874
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d845af;
/* rgb */ color: rgb(216, 69, 175);
/* oklch */ color: oklch(63.1% 0.213 340.9);
Tailwind
colors: {
  custom: {
    50: '#e884c7',
    500: '#d845af',
    950: '#000000',
  },
}
SCSS
$custom: #d845af;
$custom-light: #e884c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d845af",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 316.735,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63129,
    "c": 0.21257,
    "h": 340.9
  },
  "luminance": 0.2195
}

Semantic roles & 50–950 ramp

primary
#D845AF
secondary
#9EDBAF
accent
#E86F40
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D845AF

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

Preview Lab → · Contrast checker → · Palette generator →

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