#D052A4#D052A4

#D052A4 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.182 H 343.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D052A4
RGBrgb(208, 82, 164)
HSLhsl(321, 57%, 57%)
HSVhsv(321, 61%, 82%)
CMYKcmyk(0%, 60.6%, 21.2%, 18.4%)
CIE-LABlab(54.16, 58.44, -19.23)
CIE-LCHlch(54.16, 61.52, 341.79°)
OKLaboklab(62.88% 0.1751 -0.0512)
OKLCHoklch(62.88% 0.182 343.7)
XYZxyz(35.7316, 22.1281, 37.5041)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052A4 #52D07E
analogous
#BD52D0 #D052A4 #D05265
triadic
#D052A4 #A4D052 #52A4D0
tetradic
#D052A4 #D0BD52 #52D07E #5265D0
square
#D052A4 #D0BD52 #52D07E #5265D0
split-complementary
#D052A4 #65D052 #52D0BD
monochromatic
#842462 #B43186 #D052A4 #DD82BD #EAB2D7

Accessibility & contrast

On white

3.87
#D052A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D052A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052A4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052A4#FFFFFF#000000##000000
##D052A41.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A7
Deuteranopia (green-blind)
#8189A1
Tritanopia (blue-blind)
#DC5274
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d052a4;
/* rgb */ color: rgb(208, 82, 164);
/* oklch */ color: oklch(62.9% 0.182 343.7);
Tailwind
colors: {
  custom: {
    50: '#e289bf',
    500: '#d052a4',
    950: '#000000',
  },
}
SCSS
$custom: #d052a4;
$custom-light: #e289bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d052a4",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 320.952,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62876,
    "c": 0.18238,
    "h": 343.7
  },
  "luminance": 0.22125
}

Semantic roles & 50–950 ramp

primary
#D052A4
secondary
#A5D9B7
accent
#E17D47
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D052A4

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

Preview Lab → · Contrast checker → · Palette generator →

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