#D852A7#D852A7

#D852A7 is a light, vivid pink. Relative luminance 0.234; OKLCH L 64.1% C 0.190 H 344.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#D852A7
RGBrgb(216, 82, 167)
HSLhsl(322, 63%, 58%)
HSVhsv(322, 62%, 85%)
CMYKcmyk(0%, 62%, 22.7%, 15.3%)
CIE-LABlab(55.51, 61.12, -18.81)
CIE-LCHlch(55.51, 63.95, 342.89°)
OKLaboklab(64.15% 0.1838 -0.0499)
OKLCHoklch(64.15% 0.19 344.8)
XYZxyz(38.3125, 23.4272, 39.0559)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852A7 #52D883
analogous
#C652D8 #D852A7 #D85264
triadic
#D852A7 #A7D852 #52A7D8
tetradic
#D852A7 #D8C652 #52D883 #5264D8
square
#D852A7 #D8C652 #52D883 #5264D8
split-complementary
#D852A7 #64D852 #52D8C6
monochromatic
#8F2067 #C12C8B #D852A7 #E384C0 #EFB6DA

Accessibility & contrast

On white

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

On black

5.68
#D852A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852A7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852A7#FFFFFF#000000##000000
##D852A71.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F77AA
Deuteranopia (green-blind)
#868DA4
Tritanopia (blue-blind)
#E55175
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d852a7;
/* rgb */ color: rgb(216, 82, 167);
/* oklch */ color: oklch(64.1% 0.190 344.8);
Tailwind
colors: {
  custom: {
    50: '#e88ac1',
    500: '#d852a7',
    950: '#000000',
  },
}
SCSS
$custom: #d852a7;
$custom-light: #e88ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#d852a7",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 321.94,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64147,
    "c": 0.19043,
    "h": 344.8
  },
  "luminance": 0.23424
}

Semantic roles & 50–950 ramp

primary
#D852A7
secondary
#A8DDBC
accent
#E67E42
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D852A7

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

Preview Lab → · Contrast checker → · Palette generator →

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