#D845B0#D845B0

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

Color values

HEX#D845B0
RGBrgb(216, 69, 176)
HSLhsl(316, 65%, 56%)
HSVhsv(316, 68%, 85%)
CMYKcmyk(0%, 68.1%, 18.5%, 15.3%)
CIE-LABlab(54.02, 67.45, -26.35)
CIE-LCHlch(54.02, 72.41, 338.66°)
OKLaboklab(63.17% 0.2011 -0.0709)
OKLCHoklch(63.17% 0.213 340.6)
XYZxyz(38.2845, 21.9934, 43.2948)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845B0 #45D86D
analogous
#B745D8 #D845B0 #D84566
triadic
#D845B0 #B0D845 #45B0D8
tetradic
#D845B0 #D8B745 #45D86D #4566D8
square
#D845B0 #D8B745 #45D86D #4566D8
split-complementary
#D845B0 #66D845 #45D8B7
monochromatic
#861C6A #B92791 #D845B0 #E378C5 #EDAADB

Accessibility & contrast

On white

3.89
#D845B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D845B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845B0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845B0#FFFFFF#000000##000000
##D845B01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B3
Deuteranopia (green-blind)
#7D8AAC
Tritanopia (blue-blind)
#E54875
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d845b0;
/* rgb */ color: rgb(216, 69, 176);
/* oklch */ color: oklch(63.2% 0.213 340.6);
Tailwind
colors: {
  custom: {
    50: '#e884c8',
    500: '#d845b0',
    950: '#000000',
  },
}
SCSS
$custom: #d845b0;
$custom-light: #e884c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d845b0",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 316.327,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63173,
    "c": 0.21321,
    "h": 340.6
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D845B0

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

Preview Lab → · Contrast checker → · Palette generator →

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