#D052B7#D052B7

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

Color values

HEX#D052B7
RGBrgb(208, 82, 183)
HSLhsl(312, 57%, 57%)
HSVhsv(312, 61%, 82%)
CMYKcmyk(0%, 60.6%, 12%, 18.4%)
CIE-LABlab(54.93, 61.22, -29.09)
CIE-LCHlch(54.93, 67.78, 334.58°)
OKLaboklab(63.7% 0.1788 -0.0789)
OKLCHoklch(63.7% 0.195 336.2)
XYZxyz(37.5774, 22.8664, 47.2251)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052B7 #52D06B
analogous
#AA52D0 #D052B7 #D05278
triadic
#D052B7 #B7D052 #52B7D0
tetradic
#D052B7 #D0AA52 #52D06B #5278D0
square
#D052B7 #D0AA52 #52D06B #5278D0
split-complementary
#D052B7 #78D052 #52D0AA
monochromatic
#842471 #B4319A #D052B7 #DD82CB #EAB2DF

Accessibility & contrast

On white

3.77
#D052B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D052B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052B7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052B7#FFFFFF#000000##000000
##D052B71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5477BA
Deuteranopia (green-blind)
#7B8AB4
Tritanopia (blue-blind)
#DA597D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d052b7;
/* rgb */ color: rgb(208, 82, 183);
/* oklch */ color: oklch(63.7% 0.195 336.2);
Tailwind
colors: {
  custom: {
    50: '#e18acd',
    500: '#d052b7',
    950: '#000000',
  },
}
SCSS
$custom: #d052b7;
$custom-light: #e18acd;
$custom-dark: #000000;
JSON
{
  "hex": "#d052b7",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 311.905,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63696,
    "c": 0.19543,
    "h": 336.2
  },
  "luminance": 0.22863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D052B7

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

Preview Lab → · Contrast checker → · Palette generator →

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