#D845B9#D845B9

#D845B9 is a light, highly saturated pink. Relative luminance 0.224; OKLCH L 63.6% C 0.219 H 337.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#D845B9
RGBrgb(216, 69, 185)
HSLhsl(313, 65%, 56%)
HSVhsv(313, 68%, 85%)
CMYKcmyk(0%, 68.1%, 14.4%, 15.3%)
CIE-LABlab(54.41, 68.71, -30.97)
CIE-LCHlch(54.41, 75.37, 335.74°)
OKLaboklab(63.58% 0.2024 -0.084)
OKLCHoklch(63.58% 0.219 337.5)
XYZxyz(39.2047, 22.3615, 48.1410)
Luminance0.2236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845B9 #45D864
analogous
#AD45D8 #D845B9 #D8456F
triadic
#D845B9 #B9D845 #45B9D8
tetradic
#D845B9 #D8AD45 #45D864 #456FD8
square
#D845B9 #D8AD45 #45D864 #456FD8
split-complementary
#D845B9 #6FD845 #45D8AD
monochromatic
#861C70 #B9279A #D845B9 #E378CC #EDAADF

Accessibility & contrast

On white

3.84
#D845B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#D845B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845B9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845B9#FFFFFF#000000##000000
##D845B91.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#798AB5
Tritanopia (blue-blind)
#E34C79
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d845b9;
/* rgb */ color: rgb(216, 69, 185);
/* oklch */ color: oklch(63.6% 0.219 337.5);
Tailwind
colors: {
  custom: {
    50: '#e884ce',
    500: '#d845b9',
    950: '#000000',
  },
}
SCSS
$custom: #d845b9;
$custom-light: #e884ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d845b9",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 312.653,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63582,
    "c": 0.21917,
    "h": 337.5
  },
  "luminance": 0.22358
}

Semantic roles & 50–950 ramp

primary
#D845B9
secondary
#9EDBAB
accent
#E86340
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #D845B9

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

Preview Lab → · Contrast checker → · Palette generator →

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