#D252AC#D252AC

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

Color values

HEX#D252AC
RGBrgb(210, 82, 172)
HSLhsl(318, 59%, 57%)
HSVhsv(318, 61%, 82%)
CMYKcmyk(0%, 61%, 18.1%, 17.6%)
CIE-LABlab(54.78, 60.13, -22.92)
CIE-LCHlch(54.78, 64.35, 339.13°)
OKLaboklab(63.49% 0.1788 -0.0615)
OKLCHoklch(63.49% 0.189 341)
XYZxyz(37.0429, 22.7180, 41.4558)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252AC #52D278
analogous
#B852D2 #D252AC #D2526C
triadic
#D252AC #ACD252 #52ACD2
tetradic
#D252AC #D2B852 #52D278 #526CD2
square
#D252AC #D2B852 #52D278 #526CD2
split-complementary
#D252AC #6CD252 #52D2B8
monochromatic
#872369 #B7308F #D252AC #DF83C3 #EBB3DB

Accessibility & contrast

On white

3.79
#D252AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D252AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252AC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252AC#FFFFFF#000000##000000
##D252AC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AF
Deuteranopia (green-blind)
#808BA9
Tritanopia (blue-blind)
#DE5478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d252ac;
/* rgb */ color: rgb(210, 82, 172);
/* oklch */ color: oklch(63.5% 0.189 341.0);
Tailwind
colors: {
  custom: {
    50: '#e38ac5',
    500: '#d252ac',
    950: '#000000',
  },
}
SCSS
$custom: #d252ac;
$custom-light: #e38ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#d252ac",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 317.813,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63493,
    "c": 0.1891,
    "h": 341
  },
  "luminance": 0.22715
}

Semantic roles & 50–950 ramp

primary
#D252AC
secondary
#A6DAB5
accent
#E27446
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D252AC

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

Preview Lab → · Contrast checker → · Palette generator →

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