#D052A5#D052A5

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

Color values

HEX#D052A5
RGBrgb(208, 82, 165)
HSLhsl(320, 57%, 57%)
HSVhsv(320, 61%, 82%)
CMYKcmyk(0%, 60.6%, 20.7%, 18.4%)
CIE-LABlab(54.20, 58.58, -19.75)
CIE-LCHlch(54.20, 61.82, 341.37°)
OKLaboklab(62.92% 0.1753 -0.0527)
OKLCHoklch(62.92% 0.183 343.3)
XYZxyz(35.8223, 22.1644, 37.9815)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052A5 #52D07D
analogous
#BC52D0 #D052A5 #D05266
triadic
#D052A5 #A5D052 #52A5D0
tetradic
#D052A5 #D0BC52 #52D07D #5266D0
square
#D052A5 #D0BC52 #52D07D #5266D0
split-complementary
#D052A5 #66D052 #52D0BC
monochromatic
#842463 #B43187 #D052A5 #DD82BE #EAB2D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D052A5#FFFFFF#000000##000000
##D052A51.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)
#5C74A8
Deuteranopia (green-blind)
#8189A2
Tritanopia (blue-blind)
#DC5274
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d052a5;
/* rgb */ color: rgb(208, 82, 165);
/* oklch */ color: oklch(62.9% 0.183 343.3);
Tailwind
colors: {
  custom: {
    50: '#e289bf',
    500: '#d052a5',
    950: '#000000',
  },
}
SCSS
$custom: #d052a5;
$custom-light: #e289bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d052a5",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 320.476,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62916,
    "c": 0.18301,
    "h": 343.3
  },
  "luminance": 0.22161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D052A5

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

Preview Lab → · Contrast checker → · Palette generator →

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