#D052A7#D052A7

#D052A7 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.0% C 0.184 H 342.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D052A7
RGBrgb(208, 82, 167)
HSLhsl(320, 57%, 57%)
HSVhsv(320, 61%, 82%)
CMYKcmyk(0%, 60.6%, 19.7%, 18.4%)
CIE-LABlab(54.28, 58.86, -20.80)
CIE-LCHlch(54.28, 62.43, 340.53°)
OKLaboklab(63% 0.1757 -0.0556)
OKLCHoklch(63% 0.184 342.4)
XYZxyz(36.0057, 22.2377, 38.9477)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052A7 #52D07B
analogous
#BA52D0 #D052A7 #D05268
triadic
#D052A7 #A7D052 #52A7D0
tetradic
#D052A7 #D0BA52 #52D07B #5268D0
square
#D052A7 #D0BA52 #52D07B #5268D0
split-complementary
#D052A7 #68D052 #52D0BA
monochromatic
#842465 #B43189 #D052A7 #DD82BF #EAB2D8

Accessibility & contrast

On white

3.86
#D052A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D052A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052A7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052A7#FFFFFF#000000##000000
##D052A71.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AA
Deuteranopia (green-blind)
#8089A4
Tritanopia (blue-blind)
#DC5375
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d052a7;
/* rgb */ color: rgb(208, 82, 167);
/* oklch */ color: oklch(63.0% 0.184 342.4);
Tailwind
colors: {
  custom: {
    50: '#e289c1',
    500: '#d052a7',
    950: '#000000',
  },
}
SCSS
$custom: #d052a7;
$custom-light: #e289c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d052a7",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 319.524,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62999,
    "c": 0.1843,
    "h": 342.4
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#D052A7
secondary
#A5D9B6
accent
#E17947
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D052A7

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

Preview Lab → · Contrast checker → · Palette generator →

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