#D845BE#D845BE

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

Color values

HEX#D845BE
RGBrgb(216, 69, 190)
HSLhsl(311, 65%, 56%)
HSVhsv(311, 68%, 85%)
CMYKcmyk(0%, 68.1%, 12%, 15.3%)
CIE-LABlab(54.63, 69.43, -33.51)
CIE-LCHlch(54.63, 77.10, 334.24°)
OKLaboklab(63.82% 0.203 -0.0913)
OKLCHoklch(63.82% 0.223 335.8)
XYZxyz(39.7418, 22.5763, 50.9698)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845BE #45D85F
analogous
#A845D8 #D845BE #D84574
triadic
#D845BE #BED845 #45BED8
tetradic
#D845BE #D8A845 #45D85F #4574D8
square
#D845BE #D8A845 #45D85F #4574D8
split-complementary
#D845BE #74D845 #45D8A8
monochromatic
#861C74 #B9279F #D845BE #E378D0 #EDAAE1

Accessibility & contrast

On white

3.81
#D845BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D845BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845BE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845BE#FFFFFF#000000##000000
##D845BE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d845be;
/* rgb */ color: rgb(216, 69, 190);
/* oklch */ color: oklch(63.8% 0.223 335.8);
Tailwind
colors: {
  custom: {
    50: '#e884d2',
    500: '#d845be',
    950: '#000000',
  },
}
SCSS
$custom: #d845be;
$custom-light: #e884d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d845be",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 310.612,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63819,
    "c": 0.22261,
    "h": 335.8
  },
  "luminance": 0.22573
}

Semantic roles & 50–950 ramp

primary
#D845BE
secondary
#9EDBA9
accent
#E85D40
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D845BE

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

Preview Lab → · Contrast checker → · Palette generator →

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