#D542BB#D542BB

#D542BB is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 63.0% C 0.222 H 335.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#D542BB
RGBrgb(213, 66, 187)
HSLhsl(311, 64%, 55%)
HSVhsv(311, 69%, 84%)
CMYKcmyk(0%, 69%, 12.2%, 16.5%)
CIE-LABlab(53.64, 69.34, -33.37)
CIE-LCHlch(53.64, 76.95, 334.30°)
OKLaboklab(62.96% 0.2029 -0.0909)
OKLCHoklch(62.96% 0.222 335.9)
XYZxyz(38.3589, 21.6338, 49.1596)
Luminance0.2163 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542BB #42D55C
analogous
#A542D5 #D542BB #D54272
triadic
#D542BB #BBD542 #42BBD5
tetradic
#D542BB #D5A542 #42D55C #4272D5
square
#D542BB #D5A542 #42D55C #4272D5
split-complementary
#D542BB #72D542 #42D5A5
monochromatic
#801C6F #B2289A #D542BB #E074CD #EBA6DF

Accessibility & contrast

On white

3.94
#D542BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#D542BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542BB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542BB#FFFFFF#000000##000000
##D542BB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#7588B7
Tritanopia (blue-blind)
#E04C79
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d542bb;
/* rgb */ color: rgb(213, 66, 187);
/* oklch */ color: oklch(63.0% 0.222 335.9);
Tailwind
colors: {
  custom: {
    50: '#e682d0',
    500: '#d542bb',
    950: '#000000',
  },
}
SCSS
$custom: #d542bb;
$custom-light: #e682d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d542bb",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 310.612,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62959,
    "c": 0.22233,
    "h": 335.9
  },
  "luminance": 0.2163
}

Semantic roles & 50–950 ramp

primary
#D542BB
secondary
#9AD8A5
accent
#E75E41
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D542BB

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

Preview Lab → · Contrast checker → · Palette generator →

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