#D540AA#D540AA

#D540AA is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 62.0% C 0.213 H 341.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D540AA
RGBrgb(213, 64, 170)
HSLhsl(317, 64%, 54%)
HSVhsv(317, 70%, 84%)
CMYKcmyk(0%, 70%, 20.2%, 16.5%)
CIE-LABlab(52.64, 67.67, -25.01)
CIE-LCHlch(52.64, 72.14, 339.72°)
OKLaboklab(61.99% 0.2026 -0.0672)
OKLCHoklch(61.99% 0.213 341.7)
XYZxyz(36.5308, 20.7188, 40.0977)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D540AA #40D56B
analogous
#B540D5 #D540AA #D54060
triadic
#D540AA #AAD540 #40AAD5
tetradic
#D540AA #D5B540 #40D56B #4060D5
square
#D540AA #D5B540 #40D56B #4060D5
split-complementary
#D540AA #60D540 #40D5B5
monochromatic
#7F1C62 #B12789 #D540AA #E072C0 #EBA4D7

Accessibility & contrast

On white

4.08
#D540AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D540AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D540AA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D540AA#FFFFFF#000000##000000
##D540AA1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#7B86A6
Tritanopia (blue-blind)
#E24270
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d540aa;
/* rgb */ color: rgb(213, 64, 170);
/* oklch */ color: oklch(62.0% 0.213 341.7);
Tailwind
colors: {
  custom: {
    50: '#e681c3',
    500: '#d540aa',
    950: '#000000',
  },
}
SCSS
$custom: #d540aa;
$custom-light: #e681c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d540aa",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 317.315,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61993,
    "c": 0.21347,
    "h": 341.7
  },
  "luminance": 0.20715
}

Semantic roles & 50–950 ramp

primary
#D540AA
secondary
#99D8AB
accent
#E77141
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D540AA

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

Preview Lab → · Contrast checker → · Palette generator →

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