#D845B8#D845B8

#D845B8 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.5% C 0.218 H 337.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D845B8
RGBrgb(216, 69, 184)
HSLhsl(313, 65%, 56%)
HSVhsv(313, 68%, 85%)
CMYKcmyk(0%, 68.1%, 14.8%, 15.3%)
CIE-LABlab(54.36, 68.57, -30.46)
CIE-LCHlch(54.36, 75.03, 336.05°)
OKLaboklab(63.54% 0.2023 -0.0826)
OKLCHoklch(63.54% 0.218 337.8)
XYZxyz(39.0995, 22.3194, 47.5870)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845B8 #45D865
analogous
#AE45D8 #D845B8 #D8456E
triadic
#D845B8 #B8D845 #45B8D8
tetradic
#D845B8 #D8AE45 #45D865 #456ED8
square
#D845B8 #D8AE45 #45D865 #456ED8
split-complementary
#D845B8 #6ED845 #45D8AE
monochromatic
#861C6F #B92799 #D845B8 #E378CB #EDAADF

Accessibility & contrast

On white

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

On black

5.46
#D845B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845B8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845B8#FFFFFF#000000##000000
##D845B81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BB
Deuteranopia (green-blind)
#7A8AB4
Tritanopia (blue-blind)
#E34C79
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d845b8;
/* rgb */ color: rgb(216, 69, 184);
/* oklch */ color: oklch(63.5% 0.218 337.8);
Tailwind
colors: {
  custom: {
    50: '#e884cd',
    500: '#d845b8',
    950: '#000000',
  },
}
SCSS
$custom: #d845b8;
$custom-light: #e884cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d845b8",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 313.061,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63536,
    "c": 0.21849,
    "h": 337.8
  },
  "luminance": 0.22316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D845B8

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

Preview Lab → · Contrast checker → · Palette generator →

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