#D542AE#D542AE

#D542AE is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.4% C 0.214 H 340.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D542AE
RGBrgb(213, 66, 174)
HSLhsl(316, 64%, 55%)
HSVhsv(316, 69%, 84%)
CMYKcmyk(0%, 69%, 18.3%, 16.5%)
CIE-LABlab(53.06, 67.50, -26.70)
CIE-LCHlch(53.06, 72.59, 338.42°)
OKLaboklab(62.35% 0.2011 -0.0719)
OKLCHoklch(62.35% 0.214 340.3)
XYZxyz(37.0297, 21.1021, 42.1591)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542AE #42D569
analogous
#B242D5 #D542AE #D54265
triadic
#D542AE #AED542 #42AED5
tetradic
#D542AE #D5B242 #42D569 #4265D5
square
#D542AE #D5B242 #42D569 #4265D5
split-complementary
#D542AE #65D542 #42D5B2
monochromatic
#801C66 #B2288D #D542AE #E074C3 #EBA6D9

Accessibility & contrast

On white

4.02
#D542AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D542AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542AE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542AE#FFFFFF#000000##000000
##D542AE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B1
Deuteranopia (green-blind)
#7A87AA
Tritanopia (blue-blind)
#E14672
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d542ae;
/* rgb */ color: rgb(213, 66, 174);
/* oklch */ color: oklch(62.4% 0.214 340.3);
Tailwind
colors: {
  custom: {
    50: '#e682c6',
    500: '#d542ae',
    950: '#000000',
  },
}
SCSS
$custom: #d542ae;
$custom-light: #e682c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d542ae",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 315.918,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.21362,
    "h": 340.3
  },
  "luminance": 0.21099
}

Semantic roles & 50–950 ramp

primary
#D542AE
secondary
#9AD8AB
accent
#E76D41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D542AE

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

Preview Lab → · Contrast checker → · Palette generator →

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