#D845A2#D845A2

#D845A2 is a light, highly saturated pink. Relative luminance 0.215; OKLCH L 62.6% C 0.205 H 345.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D845A2
RGBrgb(216, 69, 162)
HSLhsl(322, 65%, 56%)
HSVhsv(322, 68%, 85%)
CMYKcmyk(0%, 68.1%, 25%, 15.3%)
CIE-LABlab(53.46, 65.60, -19.02)
CIE-LCHlch(53.46, 68.30, 343.83°)
OKLaboklab(62.58% 0.1984 -0.0504)
OKLCHoklch(62.58% 0.205 345.7)
XYZxyz(36.9701, 21.4676, 36.3721)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845A2 #45D87B
analogous
#C445D8 #D845A2 #D84558
triadic
#D845A2 #A2D845 #45A2D8
tetradic
#D845A2 #D8C445 #45D87B #4558D8
square
#D845A2 #D8C445 #45D87B #4558D8
split-complementary
#D845A2 #58D845 #45D8C4
monochromatic
#861C5F #B92783 #D845A2 #E378BB #EDAAD5

Accessibility & contrast

On white

3.97
#D845A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D845A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845A2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845A2#FFFFFF#000000##000000
##D845A21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A5
Deuteranopia (green-blind)
#81899F
Tritanopia (blue-blind)
#E6426D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d845a2;
/* rgb */ color: rgb(216, 69, 162);
/* oklch */ color: oklch(62.6% 0.205 345.7);
Tailwind
colors: {
  custom: {
    50: '#e883bd',
    500: '#d845a2',
    950: '#000000',
  },
}
SCSS
$custom: #d845a2;
$custom-light: #e883bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d845a2",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 322.041,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62578,
    "c": 0.20469,
    "h": 345.7
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

primary
#D845A2
secondary
#9EDBB4
accent
#E87E40
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D845A2

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

Preview Lab → · Contrast checker → · Palette generator →

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