#D852AC#D852AC

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

Color values

HEX#D852AC
RGBrgb(216, 82, 172)
HSLhsl(320, 63%, 58%)
HSVhsv(320, 62%, 85%)
CMYKcmyk(0%, 62%, 20.4%, 15.3%)
CIE-LABlab(55.70, 61.80, -21.43)
CIE-LCHlch(55.70, 65.41, 340.88°)
OKLaboklab(64.35% 0.1849 -0.0572)
OKLCHoklch(64.35% 0.194 342.8)
XYZxyz(38.7837, 23.6156, 41.5374)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852AC #52D87E
analogous
#C152D8 #D852AC #D85269
triadic
#D852AC #ACD852 #52ACD8
tetradic
#D852AC #D8C152 #52D87E #5269D8
square
#D852AC #D8C152 #52D87E #5269D8
split-complementary
#D852AC #69D852 #52D8C1
monochromatic
#8F206B #C12C90 #D852AC #E384C4 #EFB6DC

Accessibility & contrast

On white

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

On black

5.72
#D852AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852AC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852AC#FFFFFF#000000##000000
##D852AC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AF
Deuteranopia (green-blind)
#848EA9
Tritanopia (blue-blind)
#E55378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d852ac;
/* rgb */ color: rgb(216, 82, 172);
/* oklch */ color: oklch(64.3% 0.194 342.8);
Tailwind
colors: {
  custom: {
    50: '#e78ac5',
    500: '#d852ac',
    950: '#000000',
  },
}
SCSS
$custom: #d852ac;
$custom-light: #e78ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#d852ac",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 319.701,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6435,
    "c": 0.19353,
    "h": 342.8
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D852AC

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

Preview Lab → · Contrast checker → · Palette generator →

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