#D052AF#D052AF

#D052AF is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.3% C 0.190 H 339.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D052AF
RGBrgb(208, 82, 175)
HSLhsl(316, 57%, 57%)
HSVhsv(316, 61%, 82%)
CMYKcmyk(0%, 60.6%, 15.9%, 18.4%)
CIE-LABlab(54.60, 60.02, -24.97)
CIE-LCHlch(54.60, 65.00, 337.41°)
OKLaboklab(63.34% 0.1774 -0.0673)
OKLCHoklch(63.34% 0.19 339.2)
XYZxyz(36.7683, 22.5428, 42.9638)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052AF #52D073
analogous
#B252D0 #D052AF #D05270
triadic
#D052AF #AFD052 #52AFD0
tetradic
#D052AF #D0B252 #52D073 #5270D0
square
#D052AF #D0B252 #52D073 #5270D0
split-complementary
#D052AF #70D052 #52D0B2
monochromatic
#84246B #B43192 #D052AF #DD82C5 #EAB2DC

Accessibility & contrast

On white

3.81
#D052AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D052AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052AF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052AF#FFFFFF#000000##000000
##D052AF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#7D8AAC
Tritanopia (blue-blind)
#DB5679
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d052af;
/* rgb */ color: rgb(208, 82, 175);
/* oklch */ color: oklch(63.3% 0.190 339.2);
Tailwind
colors: {
  custom: {
    50: '#e18ac7',
    500: '#d052af',
    950: '#000000',
  },
}
SCSS
$custom: #d052af;
$custom-light: #e18ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#d052af",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 315.714,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63339,
    "c": 0.18971,
    "h": 339.2
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#D052AF
secondary
#A5D9B3
accent
#E16F47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D052AF

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

Preview Lab → · Contrast checker → · Palette generator →

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