#D845B6#D845B6

#D845B6 is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.4% C 0.217 H 338.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D845B6
RGBrgb(216, 69, 182)
HSLhsl(314, 65%, 56%)
HSVhsv(314, 68%, 85%)
CMYKcmyk(0%, 68.1%, 15.7%, 15.3%)
CIE-LABlab(54.28, 68.28, -29.44)
CIE-LCHlch(54.28, 74.36, 336.68°)
OKLaboklab(63.44% 0.202 -0.0797)
OKLCHoklch(63.44% 0.217 338.5)
XYZxyz(38.8913, 22.2361, 46.4906)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845B6 #45D867
analogous
#B145D8 #D845B6 #D8456C
triadic
#D845B6 #B6D845 #45B6D8
tetradic
#D845B6 #D8B145 #45D867 #456CD8
square
#D845B6 #D8B145 #45D867 #456CD8
split-complementary
#D845B6 #6CD845 #45D8B1
monochromatic
#861C6E #B92797 #D845B6 #E378CA #EDAADE

Accessibility & contrast

On white

3.86
#D845B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D845B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845B6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845B6#FFFFFF#000000##000000
##D845B61.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B9
Deuteranopia (green-blind)
#7B8AB2
Tritanopia (blue-blind)
#E44B78
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d845b6;
/* rgb */ color: rgb(216, 69, 182);
/* oklch */ color: oklch(63.4% 0.217 338.5);
Tailwind
colors: {
  custom: {
    50: '#e884cc',
    500: '#d845b6',
    950: '#000000',
  },
}
SCSS
$custom: #d845b6;
$custom-light: #e884cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d845b6",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 313.878,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63444,
    "c": 0.21714,
    "h": 338.5
  },
  "luminance": 0.22233
}

Semantic roles & 50–950 ramp

primary
#D845B6
secondary
#9EDBAC
accent
#E86740
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D845B6

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

Preview Lab → · Contrast checker → · Palette generator →

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