#D852A8#D852A8

#D852A8 is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.2% C 0.191 H 344.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D852A8
RGBrgb(216, 82, 168)
HSLhsl(321, 63%, 58%)
HSVhsv(321, 62%, 85%)
CMYKcmyk(0%, 62%, 22.2%, 15.3%)
CIE-LABlab(55.55, 61.25, -19.34)
CIE-LCHlch(55.55, 64.23, 342.48°)
OKLaboklab(64.19% 0.184 -0.0514)
OKLCHoklch(64.19% 0.191 344.4)
XYZxyz(38.4053, 23.4643, 39.5446)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852A8 #52D882
analogous
#C552D8 #D852A8 #D85265
triadic
#D852A8 #A8D852 #52A8D8
tetradic
#D852A8 #D8C552 #52D882 #5265D8
square
#D852A8 #D8C552 #52D882 #5265D8
split-complementary
#D852A8 #65D852 #52D8C5
monochromatic
#8F2068 #C12C8C #D852A8 #E384C1 #EFB6DA

Accessibility & contrast

On white

3.69
#D852A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D852A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852A8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852A8#FFFFFF#000000##000000
##D852A81.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AB
Deuteranopia (green-blind)
#858DA5
Tritanopia (blue-blind)
#E55176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d852a8;
/* rgb */ color: rgb(216, 82, 168);
/* oklch */ color: oklch(64.2% 0.191 344.4);
Tailwind
colors: {
  custom: {
    50: '#e88ac2',
    500: '#d852a8',
    950: '#000000',
  },
}
SCSS
$custom: #d852a8;
$custom-light: #e88ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#d852a8",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 321.493,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64187,
    "c": 0.19104,
    "h": 344.4
  },
  "luminance": 0.23461
}

Semantic roles & 50–950 ramp

primary
#D852A8
secondary
#A8DDBB
accent
#E67D42
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D852A8

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

Preview Lab → · Contrast checker → · Palette generator →

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