#D542B8#D542B8

#D542B8 is a light, highly saturated pink. Relative luminance 0.215; OKLCH L 62.8% C 0.220 H 336.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#D542B8
RGBrgb(213, 66, 184)
HSLhsl(312, 64%, 55%)
HSVhsv(312, 69%, 84%)
CMYKcmyk(0%, 69%, 13.6%, 16.5%)
CIE-LABlab(53.50, 68.91, -31.84)
CIE-LCHlch(53.50, 75.91, 335.20°)
OKLaboklab(62.82% 0.2026 -0.0865)
OKLCHoklch(62.82% 0.22 336.9)
XYZxyz(38.0411, 21.5066, 47.4858)
Luminance0.2150 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542B8 #42D55F
analogous
#A942D5 #D542B8 #D5426E
triadic
#D542B8 #B8D542 #42B8D5
tetradic
#D542B8 #D5A942 #42D55F #426ED5
square
#D542B8 #D5A942 #42D55F #426ED5
split-complementary
#D542B8 #6ED542 #42D5A9
monochromatic
#801C6C #B22897 #D542B8 #E074CB #EBA6DE

Accessibility & contrast

On white

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

On black

5.30
#D542B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542B8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542B8#FFFFFF#000000##000000
##D542B81.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BB
Deuteranopia (green-blind)
#7688B4
Tritanopia (blue-blind)
#E04A78
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d542b8;
/* rgb */ color: rgb(213, 66, 184);
/* oklch */ color: oklch(62.8% 0.220 336.9);
Tailwind
colors: {
  custom: {
    50: '#e682cd',
    500: '#d542b8',
    950: '#000000',
  },
}
SCSS
$custom: #d542b8;
$custom-light: #e682cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d542b8",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 311.837,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62816,
    "c": 0.22027,
    "h": 336.9
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#D542B8
secondary
#9AD8A7
accent
#E76241
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D542B8

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

Preview Lab → · Contrast checker → · Palette generator →

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