#D845BF#D845BF

#D845BF is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 63.9% C 0.223 H 335.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D845BF
RGBrgb(216, 69, 191)
HSLhsl(310, 65%, 56%)
HSVhsv(310, 68%, 85%)
CMYKcmyk(0%, 68.1%, 11.6%, 15.3%)
CIE-LABlab(54.68, 69.58, -34.02)
CIE-LCHlch(54.68, 77.45, 333.95°)
OKLaboklab(63.87% 0.2032 -0.0927)
OKLCHoklch(63.87% 0.223 335.5)
XYZxyz(39.8515, 22.6202, 51.5474)
Luminance0.2262 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845BF #45D85E
analogous
#A745D8 #D845BF #D84575
triadic
#D845BF #BFD845 #45BFD8
tetradic
#D845BF #D8A745 #45D85E #4575D8
square
#D845BF #D8A745 #45D85E #4575D8
split-complementary
#D845BF #75D845 #45D8A7
monochromatic
#861C74 #B927A0 #D845BF #E378D0 #EDAAE2

Accessibility & contrast

On white

3.80
#D845BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D845BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845BF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845BF#FFFFFF#000000##000000
##D845BF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#778BBB
Tritanopia (blue-blind)
#E34F7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d845bf;
/* rgb */ color: rgb(216, 69, 191);
/* oklch */ color: oklch(63.9% 0.223 335.5);
Tailwind
colors: {
  custom: {
    50: '#e884d2',
    500: '#d845bf',
    950: '#000000',
  },
}
SCSS
$custom: #d845bf;
$custom-light: #e884d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d845bf",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 310.204,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63867,
    "c": 0.22331,
    "h": 335.5
  },
  "luminance": 0.22617
}

Semantic roles & 50–950 ramp

primary
#D845BF
secondary
#9EDBA8
accent
#E85C40
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D845BF

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

Preview Lab → · Contrast checker → · Palette generator →

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