#D052C2#D052C2

#D052C2 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.204 H 332.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D052C2
RGBrgb(208, 82, 194)
HSLhsl(307, 57%, 57%)
HSVhsv(307, 61%, 82%)
CMYKcmyk(0%, 60.6%, 6.7%, 18.4%)
CIE-LABlab(55.42, 62.95, -34.67)
CIE-LCHlch(55.42, 71.86, 331.16°)
OKLaboklab(64.21% 0.1804 -0.0948)
OKLCHoklch(64.21% 0.204 332.3)
XYZxyz(38.7673, 23.3424, 53.4922)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052C2 #52D060
analogous
#9F52D0 #D052C2 #D05283
triadic
#D052C2 #C2D052 #52C2D0
tetradic
#D052C2 #D09F52 #52D060 #5283D0
square
#D052C2 #D09F52 #52D060 #5283D0
split-complementary
#D052C2 #83D052 #52D09F
monochromatic
#842479 #B431A5 #D052C2 #DD82D3 #EAB2E4

Accessibility & contrast

On white

3.71
#D052C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D052C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052C2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052C2#FFFFFF#000000##000000
##D052C21.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#768BBF
Tritanopia (blue-blind)
#D85D83
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d052c2;
/* rgb */ color: rgb(208, 82, 194);
/* oklch */ color: oklch(64.2% 0.204 332.3);
Tailwind
colors: {
  custom: {
    50: '#e18ad5',
    500: '#d052c2',
    950: '#000000',
  },
}
SCSS
$custom: #d052c2;
$custom-light: #e18ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#d052c2",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 306.667,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64213,
    "c": 0.20378,
    "h": 332.3
  },
  "luminance": 0.2334
}

Semantic roles & 50–950 ramp

primary
#D052C2
secondary
#A5D9AB
accent
#E15847
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D052C2

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

Preview Lab → · Contrast checker → · Palette generator →

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