#D540B0#D540B0

#D540B0 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.3% C 0.217 H 339.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D540B0
RGBrgb(213, 64, 176)
HSLhsl(315, 64%, 54%)
HSVhsv(315, 70%, 84%)
CMYKcmyk(0%, 70%, 17.4%, 16.5%)
CIE-LABlab(52.90, 68.48, -28.13)
CIE-LCHlch(52.90, 74.03, 337.67°)
OKLaboklab(62.26% 0.2036 -0.076)
OKLCHoklch(62.26% 0.217 339.5)
XYZxyz(37.1114, 20.9510, 43.1553)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D540B0 #40D565
analogous
#AF40D5 #D540B0 #D54066
triadic
#D540B0 #B0D540 #40B0D5
tetradic
#D540B0 #D5AF40 #40D565 #4066D5
square
#D540B0 #D5AF40 #40D565 #4066D5
split-complementary
#D540B0 #66D540 #40D5AF
monochromatic
#7F1C66 #B1278F #D540B0 #E072C5 #EBA4DA

Accessibility & contrast

On white

4.05
#D540B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D540B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D540B0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D540B0#FFFFFF#000000##000000
##D540B01.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#496FB3
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#E14573
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d540b0;
/* rgb */ color: rgb(213, 64, 176);
/* oklch */ color: oklch(62.3% 0.217 339.5);
Tailwind
colors: {
  custom: {
    50: '#e681c8',
    500: '#d540b0',
    950: '#000000',
  },
}
SCSS
$custom: #d540b0;
$custom-light: #e681c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d540b0",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 314.899,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62262,
    "c": 0.21729,
    "h": 339.5
  },
  "luminance": 0.20948
}

Semantic roles & 50–950 ramp

primary
#D540B0
secondary
#99D8A8
accent
#E76A41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D540B0

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

Preview Lab → · Contrast checker → · Palette generator →

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