#D540BB#D540BB

#D540BB is a light, highly saturated pink. Relative luminance 0.214; OKLCH L 62.8% C 0.225 H 335.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#D540BB
RGBrgb(213, 64, 187)
HSLhsl(310, 64%, 54%)
HSVhsv(310, 70%, 84%)
CMYKcmyk(0%, 70%, 12.2%, 16.5%)
CIE-LABlab(53.39, 70.04, -33.75)
CIE-LCHlch(53.39, 77.75, 334.27°)
OKLaboklab(62.78% 0.205 -0.092)
OKLCHoklch(62.78% 0.225 335.8)
XYZxyz(38.2441, 21.4041, 49.1213)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D540BB #40D55A
analogous
#A540D5 #D540BB #D54071
triadic
#D540BB #BBD540 #40BBD5
tetradic
#D540BB #D5A540 #40D55A #4071D5
square
#D540BB #D5A540 #40D55A #4071D5
split-complementary
#D540BB #71D540 #40D5A5
monochromatic
#7F1C6D #B12799 #D540BB #E072CD #EBA4DF

Accessibility & contrast

On white

3.98
#D540BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#D540BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D540BB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D540BB#FFFFFF#000000##000000
##D540BB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#7488B7
Tritanopia (blue-blind)
#E04A79
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d540bb;
/* rgb */ color: rgb(213, 64, 187);
/* oklch */ color: oklch(62.8% 0.225 335.8);
Tailwind
colors: {
  custom: {
    50: '#e681d0',
    500: '#d540bb',
    950: '#000000',
  },
}
SCSS
$custom: #d540bb;
$custom-light: #e681d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d540bb",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 310.47,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6278,
    "c": 0.22467,
    "h": 335.8
  },
  "luminance": 0.21401
}

Semantic roles & 50–950 ramp

primary
#D540BB
secondary
#99D8A4
accent
#E75E41
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D540BB

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

Preview Lab → · Contrast checker → · Palette generator →

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