#D540A0#D540A0

#D540A0 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.207 H 345.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D540A0
RGBrgb(213, 64, 160)
HSLhsl(321, 64%, 54%)
HSVhsv(321, 70%, 84%)
CMYKcmyk(0%, 70%, 24.9%, 16.5%)
CIE-LABlab(52.24, 66.37, -19.75)
CIE-LCHlch(52.24, 69.24, 343.43°)
OKLaboklab(61.57% 0.2007 -0.0524)
OKLCHoklch(61.57% 0.207 345.4)
XYZxyz(35.6206, 20.3547, 35.3038)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D540A0 #40D575
analogous
#BF40D5 #D540A0 #D54056
triadic
#D540A0 #A0D540 #40A0D5
tetradic
#D540A0 #D5BF40 #40D575 #4056D5
square
#D540A0 #D5BF40 #40D575 #4056D5
split-complementary
#D540A0 #56D540 #40D5BF
monochromatic
#7F1C5C #B12780 #D540A0 #E072B9 #EBA4D2

Accessibility & contrast

On white

4.14
#D540A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D540A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D540A0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D540A0#FFFFFF#000000##000000
##D540A01.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#516CA3
Deuteranopia (green-blind)
#7E869D
Tritanopia (blue-blind)
#E33E6A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d540a0;
/* rgb */ color: rgb(213, 64, 160);
/* oklch */ color: oklch(61.6% 0.207 345.4);
Tailwind
colors: {
  custom: {
    50: '#e681bc',
    500: '#d540a0',
    950: '#000000',
  },
}
SCSS
$custom: #d540a0;
$custom-light: #e681bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d540a0",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 321.342,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.20748,
    "h": 345.4
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#D540A0
secondary
#99D8AF
accent
#E77C41
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D540A0

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

Preview Lab → · Contrast checker → · Palette generator →

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