#D845BB#D845BB

#D845BB is a light, highly saturated pink. Relative luminance 0.224; OKLCH L 63.7% C 0.221 H 336.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D845BB
RGBrgb(216, 69, 187)
HSLhsl(312, 65%, 56%)
HSVhsv(312, 68%, 85%)
CMYKcmyk(0%, 68.1%, 13.4%, 15.3%)
CIE-LABlab(54.50, 69.00, -31.99)
CIE-LCHlch(54.50, 76.05, 335.13°)
OKLaboklab(63.68% 0.2027 -0.0869)
OKLCHoklch(63.68% 0.221 336.8)
XYZxyz(39.4173, 22.4465, 49.2607)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845BB #45D862
analogous
#AB45D8 #D845BB #D84571
triadic
#D845BB #BBD845 #45BBD8
tetradic
#D845BB #D8AB45 #45D862 #4571D8
square
#D845BB #D8AB45 #45D862 #4571D8
split-complementary
#D845BB #71D845 #45D8AB
monochromatic
#861C71 #B9279C #D845BB #E378CD #EDAAE0

Accessibility & contrast

On white

3.83
#D845BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D845BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845BB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845BB#FFFFFF#000000##000000
##D845BB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#798AB7
Tritanopia (blue-blind)
#E34D7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d845bb;
/* rgb */ color: rgb(216, 69, 187);
/* oklch */ color: oklch(63.7% 0.221 336.8);
Tailwind
colors: {
  custom: {
    50: '#e884d0',
    500: '#d845bb',
    950: '#000000',
  },
}
SCSS
$custom: #d845bb;
$custom-light: #e884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d845bb",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 311.837,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63676,
    "c": 0.22053,
    "h": 336.8
  },
  "luminance": 0.22443
}

Semantic roles & 50–950 ramp

primary
#D845BB
secondary
#9EDBAA
accent
#E86140
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D845BB

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

Preview Lab → · Contrast checker → · Palette generator →

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