#D052AB#D052AB

#D052AB is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.2% C 0.187 H 340.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D052AB
RGBrgb(208, 82, 171)
HSLhsl(318, 57%, 57%)
HSVhsv(318, 61%, 82%)
CMYKcmyk(0%, 60.6%, 17.8%, 18.4%)
CIE-LABlab(54.44, 59.43, -22.89)
CIE-LCHlch(54.44, 63.69, 338.93°)
OKLaboklab(63.17% 0.1766 -0.0614)
OKLCHoklch(63.17% 0.187 340.8)
XYZxyz(36.3812, 22.3879, 40.9254)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052AB #52D077
analogous
#B652D0 #D052AB #D0526C
triadic
#D052AB #ABD052 #52ABD0
tetradic
#D052AB #D0B652 #52D077 #526CD0
square
#D052AB #D0B652 #52D077 #526CD0
split-complementary
#D052AB #6CD052 #52D0B6
monochromatic
#842468 #B4318D #D052AB #DD82C2 #EAB2DA

Accessibility & contrast

On white

3.83
#D052AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D052AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052AB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052AB#FFFFFF#000000##000000
##D052AB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AE
Deuteranopia (green-blind)
#7F8AA8
Tritanopia (blue-blind)
#DC5477
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d052ab;
/* rgb */ color: rgb(208, 82, 171);
/* oklch */ color: oklch(63.2% 0.187 340.8);
Tailwind
colors: {
  custom: {
    50: '#e28ac4',
    500: '#d052ab',
    950: '#000000',
  },
}
SCSS
$custom: #d052ab;
$custom-light: #e28ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#d052ab",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 317.619,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63167,
    "c": 0.18695,
    "h": 340.8
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#D052AB
secondary
#A5D9B4
accent
#E17447
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D052AB

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

Preview Lab → · Contrast checker → · Palette generator →

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