#D052CB#D052CB

#D052CB is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.211 H 329.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D052CB
RGBrgb(208, 82, 203)
HSLhsl(302, 57%, 57%)
HSVhsv(302, 61%, 82%)
CMYKcmyk(0%, 60.6%, 2.4%, 18.4%)
CIE-LABlab(55.85, 64.42, -39.16)
CIE-LCHlch(55.85, 75.39, 328.70°)
OKLaboklab(64.66% 0.1813 -0.1078)
OKLCHoklch(64.66% 0.211 329.3)
XYZxyz(39.8088, 23.7590, 58.9775)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052CB #52D057
analogous
#9652D0 #D052CB #D0528C
triadic
#D052CB #CBD052 #52CBD0
tetradic
#D052CB #D09652 #52D057 #528CD0
square
#D052CB #D09652 #52D057 #528CD0
split-complementary
#D052CB #8CD052 #52D096
monochromatic
#842480 #B431AF #D052CB #DD82D9 #EAB2E8

Accessibility & contrast

On white

3.65
#D052CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#D052CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052CB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052CB#FFFFFF#000000##000000
##D052CB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#D76087
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d052cb;
/* rgb */ color: rgb(208, 82, 203);
/* oklch */ color: oklch(64.7% 0.211 329.3);
Tailwind
colors: {
  custom: {
    50: '#e18adb',
    500: '#d052cb',
    950: '#000000',
  },
}
SCSS
$custom: #d052cb;
$custom-light: #e18adb;
$custom-dark: #000000;
JSON
{
  "hex": "#d052cb",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 302.381,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64659,
    "c": 0.21093,
    "h": 329.3
  },
  "luminance": 0.23756
}

Semantic roles & 50–950 ramp

primary
#D052CB
secondary
#A5D9A7
accent
#E14D47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D052CB

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

Preview Lab → · Contrast checker → · Palette generator →

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