#D845B5#D845B5

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

Color values

HEX#D845B5
RGBrgb(216, 69, 181)
HSLhsl(314, 65%, 56%)
HSVhsv(314, 68%, 85%)
CMYKcmyk(0%, 68.1%, 16.2%, 15.3%)
CIE-LABlab(54.23, 68.14, -28.92)
CIE-LCHlch(54.23, 74.03, 337.00°)
OKLaboklab(63.4% 0.2019 -0.0782)
OKLCHoklch(63.4% 0.216 338.8)
XYZxyz(38.7884, 22.1949, 45.9483)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845B5 #45D868
analogous
#B145D8 #D845B5 #D8456B
triadic
#D845B5 #B5D845 #45B5D8
tetradic
#D845B5 #D8B145 #45D868 #456BD8
square
#D845B5 #D8B145 #45D868 #456BD8
split-complementary
#D845B5 #6BD845 #45D8B1
monochromatic
#861C6D #B92796 #D845B5 #E378C9 #EDAADD

Accessibility & contrast

On white

3.86
#D845B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D845B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845B5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845B5#FFFFFF#000000##000000
##D845B51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B8
Deuteranopia (green-blind)
#7B8AB1
Tritanopia (blue-blind)
#E44B77
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d845b5;
/* rgb */ color: rgb(216, 69, 181);
/* oklch */ color: oklch(63.4% 0.216 338.8);
Tailwind
colors: {
  custom: {
    50: '#e884cb',
    500: '#d845b5',
    950: '#000000',
  },
}
SCSS
$custom: #d845b5;
$custom-light: #e884cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d845b5",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 314.286,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63398,
    "c": 0.21648,
    "h": 338.8
  },
  "luminance": 0.22191
}

Semantic roles & 50–950 ramp

primary
#D845B5
secondary
#9EDBAC
accent
#E86840
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D845B5

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

Preview Lab → · Contrast checker → · Palette generator →

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