#D052BC#D052BC

#D052BC is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.9% C 0.199 H 334.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#D052BC
RGBrgb(208, 82, 188)
HSLhsl(310, 57%, 57%)
HSVhsv(310, 61%, 82%)
CMYKcmyk(0%, 60.6%, 9.6%, 18.4%)
CIE-LABlab(55.15, 61.99, -31.64)
CIE-LCHlch(55.15, 69.60, 332.96°)
OKLaboklab(63.93% 0.1795 -0.0862)
OKLCHoklch(63.93% 0.199 334.4)
XYZxyz(38.1070, 23.0783, 50.0147)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052BC #52D066
analogous
#A552D0 #D052BC #D0527D
triadic
#D052BC #BCD052 #52BCD0
tetradic
#D052BC #D0A552 #52D066 #527DD0
square
#D052BC #D0A552 #52D066 #527DD0
split-complementary
#D052BC #7DD052 #52D0A5
monochromatic
#842475 #B4319F #D052BC #DD82CF #EAB2E1

Accessibility & contrast

On white

3.74
#D052BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#D052BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052BC#FFFFFF#000000##000000
##D052BC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#798BB9
Tritanopia (blue-blind)
#D95A80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d052bc;
/* rgb */ color: rgb(208, 82, 188);
/* oklch */ color: oklch(63.9% 0.199 334.4);
Tailwind
colors: {
  custom: {
    50: '#e18ad0',
    500: '#d052bc',
    950: '#000000',
  },
}
SCSS
$custom: #d052bc;
$custom-light: #e18ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#d052bc",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 309.524,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63927,
    "c": 0.19917,
    "h": 334.4
  },
  "luminance": 0.23075
}

Semantic roles & 50–950 ramp

primary
#D052BC
secondary
#A5D9AD
accent
#E16047
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D052BC

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

Preview Lab → · Contrast checker → · Palette generator →

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