#D852AB#D852AB

#D852AB is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.3% C 0.193 H 343.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#D852AB
RGBrgb(216, 82, 171)
HSLhsl(320, 63%, 58%)
HSVhsv(320, 62%, 85%)
CMYKcmyk(0%, 62%, 20.8%, 15.3%)
CIE-LABlab(55.66, 61.66, -20.91)
CIE-LCHlch(55.66, 65.11, 341.27°)
OKLaboklab(64.31% 0.1847 -0.0558)
OKLCHoklch(64.31% 0.193 343.2)
XYZxyz(38.6880, 23.5774, 41.0335)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852AB #52D87F
analogous
#C252D8 #D852AB #D85268
triadic
#D852AB #ABD852 #52ABD8
tetradic
#D852AB #D8C252 #52D87F #5268D8
square
#D852AB #D8C252 #52D87F #5268D8
split-complementary
#D852AB #68D852 #52D8C2
monochromatic
#8F206A #C12C8F #D852AB #E384C3 #EFB6DB

Accessibility & contrast

On white

3.67
#D852AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#D852AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852AB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852AB#FFFFFF#000000##000000
##D852AB1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AE
Deuteranopia (green-blind)
#848DA8
Tritanopia (blue-blind)
#E55277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d852ab;
/* rgb */ color: rgb(216, 82, 171);
/* oklch */ color: oklch(64.3% 0.193 343.2);
Tailwind
colors: {
  custom: {
    50: '#e78ac4',
    500: '#d852ab',
    950: '#000000',
  },
}
SCSS
$custom: #d852ab;
$custom-light: #e78ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#d852ab",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 320.149,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64309,
    "c": 0.1929,
    "h": 343.2
  },
  "luminance": 0.23574
}

Semantic roles & 50–950 ramp

primary
#D852AB
secondary
#A8DDBA
accent
#E67942
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D852AB

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

Preview Lab → · Contrast checker → · Palette generator →

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