#D540AE#D540AE

#D540AE is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.2% C 0.216 H 340.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D540AE
RGBrgb(213, 64, 174)
HSLhsl(316, 64%, 54%)
HSVhsv(316, 70%, 84%)
CMYKcmyk(0%, 70%, 18.3%, 16.5%)
CIE-LABlab(52.81, 68.21, -27.09)
CIE-LCHlch(52.81, 73.39, 338.34°)
OKLaboklab(62.17% 0.2033 -0.073)
OKLCHoklch(62.17% 0.216 340.2)
XYZxyz(36.9149, 20.8725, 42.1208)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D540AE #40D567
analogous
#B240D5 #D540AE #D54064
triadic
#D540AE #AED540 #40AED5
tetradic
#D540AE #D5B240 #40D567 #4064D5
square
#D540AE #D5B240 #40D567 #4064D5
split-complementary
#D540AE #64D540 #40D5B2
monochromatic
#7F1C65 #B1278D #D540AE #E072C3 #EBA4D9

Accessibility & contrast

On white

4.06
#D540AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D540AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D540AE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D540AE#FFFFFF#000000##000000
##D540AE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB1
Deuteranopia (green-blind)
#7987AA
Tritanopia (blue-blind)
#E14472
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d540ae;
/* rgb */ color: rgb(213, 64, 174);
/* oklch */ color: oklch(62.2% 0.216 340.2);
Tailwind
colors: {
  custom: {
    50: '#e681c6',
    500: '#d540ae',
    950: '#000000',
  },
}
SCSS
$custom: #d540ae;
$custom-light: #e681c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d540ae",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 315.705,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62171,
    "c": 0.216,
    "h": 340.2
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#D540AE
secondary
#99D8A9
accent
#E76C41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D540AE

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

Preview Lab → · Contrast checker → · Palette generator →

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