#D542B9#D542B9

#D542B9 is a light, highly saturated pink. Relative luminance 0.215; OKLCH L 62.9% C 0.221 H 336.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D542B9
RGBrgb(213, 66, 185)
HSLhsl(311, 64%, 55%)
HSVhsv(311, 69%, 84%)
CMYKcmyk(0%, 69%, 13.1%, 16.5%)
CIE-LABlab(53.54, 69.05, -32.35)
CIE-LCHlch(53.54, 76.26, 334.90°)
OKLaboklab(62.86% 0.2027 -0.088)
OKLCHoklch(62.86% 0.221 336.5)
XYZxyz(38.1463, 21.5487, 48.0398)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542B9 #42D55E
analogous
#A842D5 #D542B9 #D5426F
triadic
#D542B9 #B9D542 #42B9D5
tetradic
#D542B9 #D5A842 #42D55E #426FD5
square
#D542B9 #D5A842 #42D55E #426FD5
split-complementary
#D542B9 #6FD542 #42D5A8
monochromatic
#801C6D #B22898 #D542B9 #E074CC #EBA6DE

Accessibility & contrast

On white

3.96
#D542B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D542B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542B9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542B9#FFFFFF#000000##000000
##D542B91.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BC
Deuteranopia (green-blind)
#7688B5
Tritanopia (blue-blind)
#E04B78
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d542b9;
/* rgb */ color: rgb(213, 66, 185);
/* oklch */ color: oklch(62.9% 0.221 336.5);
Tailwind
colors: {
  custom: {
    50: '#e682ce',
    500: '#d542b9',
    950: '#000000',
  },
}
SCSS
$custom: #d542b9;
$custom-light: #e682ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d542b9",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 311.429,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62863,
    "c": 0.22095,
    "h": 336.5
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#D542B9
secondary
#9AD8A6
accent
#E76141
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D542B9

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

Preview Lab → · Contrast checker → · Palette generator →

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