#D845BC#D845BC

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

Color values

HEX#D845BC
RGBrgb(216, 69, 188)
HSLhsl(311, 65%, 56%)
HSVhsv(311, 68%, 85%)
CMYKcmyk(0%, 68.1%, 13%, 15.3%)
CIE-LABlab(54.54, 69.14, -32.50)
CIE-LCHlch(54.54, 76.40, 334.83°)
OKLaboklab(63.72% 0.2028 -0.0884)
OKLCHoklch(63.72% 0.221 336.5)
XYZxyz(39.5247, 22.4895, 49.8265)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845BC #45D861
analogous
#AB45D8 #D845BC #D84572
triadic
#D845BC #BCD845 #45BCD8
tetradic
#D845BC #D8AB45 #45D861 #4572D8
square
#D845BC #D8AB45 #45D861 #4572D8
split-complementary
#D845BC #72D845 #45D8AB
monochromatic
#861C72 #B9279D #D845BC #E378CE #EDAAE0

Accessibility & contrast

On white

3.82
#D845BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D845BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845BC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845BC#FFFFFF#000000##000000
##D845BC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#788BB8
Tritanopia (blue-blind)
#E34E7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d845bc;
/* rgb */ color: rgb(216, 69, 188);
/* oklch */ color: oklch(63.7% 0.221 336.5);
Tailwind
colors: {
  custom: {
    50: '#e884d0',
    500: '#d845bc',
    950: '#000000',
  },
}
SCSS
$custom: #d845bc;
$custom-light: #e884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d845bc",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 311.429,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63724,
    "c": 0.22122,
    "h": 336.5
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D845BC

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

Preview Lab → · Contrast checker → · Palette generator →

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