#D852C2#D852C2

#D852C2 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.3% C 0.209 H 334.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D852C2
RGBrgb(216, 82, 194)
HSLhsl(310, 63%, 58%)
HSVhsv(310, 62%, 85%)
CMYKcmyk(0%, 62%, 10.2%, 15.3%)
CIE-LABlab(56.62, 65.02, -32.72)
CIE-LCHlch(56.62, 72.79, 333.29°)
OKLaboklab(65.32% 0.1888 -0.0891)
OKLCHoklch(65.32% 0.209 334.7)
XYZxyz(41.0741, 24.5318, 53.6003)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852C2 #52D868
analogous
#AB52D8 #D852C2 #D8527F
triadic
#D852C2 #C2D852 #52C2D8
tetradic
#D852C2 #D8AB52 #52D868 #527FD8
square
#D852C2 #D8AB52 #52D868 #527FD8
split-complementary
#D852C2 #7FD852 #52D8AB
monochromatic
#8F207D #C12CA9 #D852C2 #E384D4 #EFB6E5

Accessibility & contrast

On white

3.56
#D852C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D852C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852C2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852C2#FFFFFF#000000##000000
##D852C21.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#7C8FBF
Tritanopia (blue-blind)
#E25B83
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d852c2;
/* rgb */ color: rgb(216, 82, 194);
/* oklch */ color: oklch(65.3% 0.209 334.7);
Tailwind
colors: {
  custom: {
    50: '#e78bd4',
    500: '#d852c2',
    950: '#000000',
  },
}
SCSS
$custom: #d852c2;
$custom-light: #e78bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d852c2",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 309.851,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65321,
    "c": 0.20873,
    "h": 334.7
  },
  "luminance": 0.24529
}

Semantic roles & 50–950 ramp

primary
#D852C2
secondary
#A8DDB1
accent
#E65D42
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #D852C2

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

Preview Lab → · Contrast checker → · Palette generator →

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