#D052A2#D052A2

#D052A2 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.8% C 0.181 H 344.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#D052A2
RGBrgb(208, 82, 162)
HSLhsl(322, 57%, 57%)
HSVhsv(322, 61%, 82%)
CMYKcmyk(0%, 60.6%, 22.1%, 18.4%)
CIE-LABlab(54.09, 58.16, -18.17)
CIE-LCHlch(54.09, 60.93, 342.65°)
OKLaboklab(62.8% 0.1746 -0.0483)
OKLCHoklch(62.8% 0.181 344.5)
XYZxyz(35.5524, 22.0564, 36.5603)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052A2 #52D080
analogous
#BF52D0 #D052A2 #D05263
triadic
#D052A2 #A2D052 #52A2D0
tetradic
#D052A2 #D0BF52 #52D080 #5263D0
square
#D052A2 #D0BF52 #52D080 #5263D0
split-complementary
#D052A2 #63D052 #52D0BF
monochromatic
#842461 #B43184 #D052A2 #DD82BC #EAB2D6

Accessibility & contrast

On white

3.88
#D052A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#D052A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052A2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052A2#FFFFFF#000000##000000
##D052A21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#82899F
Tritanopia (blue-blind)
#DD5173
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d052a2;
/* rgb */ color: rgb(208, 82, 162);
/* oklch */ color: oklch(62.8% 0.181 344.5);
Tailwind
colors: {
  custom: {
    50: '#e289bd',
    500: '#d052a2',
    950: '#000000',
  },
}
SCSS
$custom: #d052a2;
$custom-light: #e289bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d052a2",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 321.905,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62795,
    "c": 0.18113,
    "h": 344.5
  },
  "luminance": 0.22053
}

Semantic roles & 50–950 ramp

primary
#D052A2
secondary
#A5D9B8
accent
#E17F47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D052A2

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

Preview Lab → · Contrast checker → · Palette generator →

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