#D845B4#D845B4

#D845B4 is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.4% C 0.216 H 339.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D845B4
RGBrgb(216, 69, 180)
HSLhsl(315, 65%, 56%)
HSVhsv(315, 68%, 85%)
CMYKcmyk(0%, 68.1%, 16.7%, 15.3%)
CIE-LABlab(54.19, 68.00, -28.41)
CIE-LCHlch(54.19, 73.70, 337.33°)
OKLaboklab(63.35% 0.2017 -0.0768)
OKLCHoklch(63.35% 0.216 339.2)
XYZxyz(38.6861, 22.1540, 45.4099)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845B4 #45D869
analogous
#B245D8 #D845B4 #D8456A
triadic
#D845B4 #B4D845 #45B4D8
tetradic
#D845B4 #D8B245 #45D869 #456AD8
square
#D845B4 #D8B245 #45D869 #456AD8
split-complementary
#D845B4 #6AD845 #45D8B2
monochromatic
#861C6C #B92795 #D845B4 #E378C8 #EDAADD

Accessibility & contrast

On white

3.87
#D845B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D845B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845B4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845B4#FFFFFF#000000##000000
##D845B41.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B7
Deuteranopia (green-blind)
#7B8AB0
Tritanopia (blue-blind)
#E44A77
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d845b4;
/* rgb */ color: rgb(216, 69, 180);
/* oklch */ color: oklch(63.4% 0.216 339.2);
Tailwind
colors: {
  custom: {
    50: '#e884ca',
    500: '#d845b4',
    950: '#000000',
  },
}
SCSS
$custom: #d845b4;
$custom-light: #e884ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d845b4",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 314.694,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63352,
    "c": 0.21581,
    "h": 339.2
  },
  "luminance": 0.2215
}

Semantic roles & 50–950 ramp

primary
#D845B4
secondary
#9EDBAD
accent
#E86940
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D845B4

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

Preview Lab → · Contrast checker → · Palette generator →

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