#D845B7#D845B7

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

Color values

HEX#D845B7
RGBrgb(216, 69, 183)
HSLhsl(313, 65%, 56%)
HSVhsv(313, 68%, 85%)
CMYKcmyk(0%, 68.1%, 15.3%, 15.3%)
CIE-LABlab(54.32, 68.42, -29.95)
CIE-LCHlch(54.32, 74.69, 336.36°)
OKLaboklab(63.49% 0.2021 -0.0811)
OKLCHoklch(63.49% 0.218 338.1)
XYZxyz(38.9950, 22.2776, 47.0368)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845B7 #45D866
analogous
#AF45D8 #D845B7 #D8456D
triadic
#D845B7 #B7D845 #45B7D8
tetradic
#D845B7 #D8AF45 #45D866 #456DD8
square
#D845B7 #D8AF45 #45D866 #456DD8
split-complementary
#D845B7 #6DD845 #45D8AF
monochromatic
#861C6F #B92798 #D845B7 #E378CB #EDAADE

Accessibility & contrast

On white

3.85
#D845B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D845B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845B7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845B7#FFFFFF#000000##000000
##D845B71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B73BA
Deuteranopia (green-blind)
#7A8AB3
Tritanopia (blue-blind)
#E44C78
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d845b7;
/* rgb */ color: rgb(216, 69, 183);
/* oklch */ color: oklch(63.5% 0.218 338.1);
Tailwind
colors: {
  custom: {
    50: '#e884cd',
    500: '#d845b7',
    950: '#000000',
  },
}
SCSS
$custom: #d845b7;
$custom-light: #e884cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d845b7",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 313.469,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6349,
    "c": 0.21781,
    "h": 338.1
  },
  "luminance": 0.22274
}

Semantic roles & 50–950 ramp

primary
#D845B7
secondary
#9EDBAC
accent
#E86540
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #D845B7

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

Preview Lab → · Contrast checker → · Palette generator →

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