#D052B8#D052B8

#D052B8 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.7% C 0.196 H 335.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#D052B8
RGBrgb(208, 82, 184)
HSLhsl(311, 57%, 57%)
HSVhsv(311, 61%, 82%)
CMYKcmyk(0%, 60.6%, 11.5%, 18.4%)
CIE-LABlab(54.98, 61.37, -29.60)
CIE-LCHlch(54.98, 68.14, 334.25°)
OKLaboklab(63.74% 0.1789 -0.0804)
OKLCHoklch(63.74% 0.196 335.8)
XYZxyz(37.6818, 22.9082, 47.7752)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052B8 #52D06A
analogous
#A952D0 #D052B8 #D05279
triadic
#D052B8 #B8D052 #52B8D0
tetradic
#D052B8 #D0A952 #52D06A #5279D0
square
#D052B8 #D0A952 #52D06A #5279D0
split-complementary
#D052B8 #79D052 #52D0A9
monochromatic
#842472 #B4319B #D052B8 #DD82CC #EAB2E0

Accessibility & contrast

On white

3.76
#D052B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#D052B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052B8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052B8#FFFFFF#000000##000000
##D052B81.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5377BB
Deuteranopia (green-blind)
#7A8AB5
Tritanopia (blue-blind)
#DA597E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d052b8;
/* rgb */ color: rgb(208, 82, 184);
/* oklch */ color: oklch(63.7% 0.196 335.8);
Tailwind
colors: {
  custom: {
    50: '#e18acd',
    500: '#d052b8',
    950: '#000000',
  },
}
SCSS
$custom: #d052b8;
$custom-light: #e18acd;
$custom-dark: #000000;
JSON
{
  "hex": "#d052b8",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 311.429,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63742,
    "c": 0.19617,
    "h": 335.8
  },
  "luminance": 0.22905
}

Semantic roles & 50–950 ramp

primary
#D052B8
secondary
#A5D9AF
accent
#E16447
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D052B8

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

Preview Lab → · Contrast checker → · Palette generator →

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