#D845B2#D845B2

#D845B2 is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.3% C 0.214 H 339.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#D845B2
RGBrgb(216, 69, 178)
HSLhsl(316, 65%, 56%)
HSVhsv(316, 68%, 85%)
CMYKcmyk(0%, 68.1%, 17.6%, 15.3%)
CIE-LABlab(54.10, 67.72, -27.38)
CIE-LCHlch(54.10, 73.05, 337.99°)
OKLaboklab(63.26% 0.2014 -0.0738)
OKLCHoklch(63.26% 0.215 339.9)
XYZxyz(38.4839, 22.0731, 44.3446)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845B2 #45D86B
analogous
#B445D8 #D845B2 #D84568
triadic
#D845B2 #B2D845 #45B2D8
tetradic
#D845B2 #D8B445 #45D86B #4568D8
square
#D845B2 #D8B445 #45D86B #4568D8
split-complementary
#D845B2 #68D845 #45D8B4
monochromatic
#861C6B #B92793 #D845B2 #E378C7 #EDAADC

Accessibility & contrast

On white

3.88
#D845B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#D845B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845B2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845B2#FFFFFF#000000##000000
##D845B21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#7C8AAE
Tritanopia (blue-blind)
#E44976
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d845b2;
/* rgb */ color: rgb(216, 69, 178);
/* oklch */ color: oklch(63.3% 0.214 339.9);
Tailwind
colors: {
  custom: {
    50: '#e884c9',
    500: '#d845b2',
    950: '#000000',
  },
}
SCSS
$custom: #d845b2;
$custom-light: #e884c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d845b2",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 315.51,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63262,
    "c": 0.2145,
    "h": 339.9
  },
  "luminance": 0.2207
}

Semantic roles & 50–950 ramp

primary
#D845B2
secondary
#9EDBAE
accent
#E86B40
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D845B2

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

Preview Lab → · Contrast checker → · Palette generator →

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