#D052B2#D052B2

#D052B2 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.5% C 0.192 H 338.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#D052B2
RGBrgb(208, 82, 178)
HSLhsl(314, 57%, 57%)
HSVhsv(314, 61%, 82%)
CMYKcmyk(0%, 60.6%, 14.4%, 18.4%)
CIE-LABlab(54.72, 60.46, -26.52)
CIE-LCHlch(54.72, 66.02, 336.31°)
OKLaboklab(63.47% 0.1779 -0.0717)
OKLCHoklch(63.47% 0.192 338.1)
XYZxyz(37.0662, 22.6619, 44.5328)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052B2 #52D070
analogous
#AF52D0 #D052B2 #D05273
triadic
#D052B2 #B2D052 #52B2D0
tetradic
#D052B2 #D0AF52 #52D070 #5273D0
square
#D052B2 #D0AF52 #52D070 #5273D0
split-complementary
#D052B2 #73D052 #52D0AF
monochromatic
#84246D #B43195 #D052B2 #DD82C7 #EAB2DD

Accessibility & contrast

On white

3.80
#D052B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#D052B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052B2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052B2#FFFFFF#000000##000000
##D052B21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#7C8AAF
Tritanopia (blue-blind)
#DB577B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d052b2;
/* rgb */ color: rgb(208, 82, 178);
/* oklch */ color: oklch(63.5% 0.192 338.1);
Tailwind
colors: {
  custom: {
    50: '#e18ac9',
    500: '#d052b2',
    950: '#000000',
  },
}
SCSS
$custom: #d052b2;
$custom-light: #e18ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#d052b2",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 314.286,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63471,
    "c": 0.19181,
    "h": 338.1
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#D052B2
secondary
#A5D9B1
accent
#E16C47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D052B2

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

Preview Lab → · Contrast checker → · Palette generator →

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