#D542B2#D542B2

#D542B2 is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 62.5% C 0.216 H 338.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D542B2
RGBrgb(213, 66, 178)
HSLhsl(314, 64%, 55%)
HSVhsv(314, 69%, 84%)
CMYKcmyk(0%, 69%, 16.4%, 16.5%)
CIE-LABlab(53.23, 68.06, -28.77)
CIE-LCHlch(53.23, 73.89, 337.09°)
OKLaboklab(62.54% 0.2018 -0.0778)
OKLCHoklch(62.54% 0.216 338.9)
XYZxyz(37.4255, 21.2604, 44.2435)
Luminance0.2126 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542B2 #42D565
analogous
#AF42D5 #D542B2 #D54268
triadic
#D542B2 #B2D542 #42B2D5
tetradic
#D542B2 #D5AF42 #42D565 #4268D5
square
#D542B2 #D5AF42 #42D565 #4268D5
split-complementary
#D542B2 #68D542 #42D5AF
monochromatic
#801C68 #B22891 #D542B2 #E074C6 #EBA6DB

Accessibility & contrast

On white

4.00
#D542B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#D542B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542B2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542B2#FFFFFF#000000##000000
##D542B21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#7987AE
Tritanopia (blue-blind)
#E14874
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d542b2;
/* rgb */ color: rgb(213, 66, 178);
/* oklch */ color: oklch(62.5% 0.216 338.9);
Tailwind
colors: {
  custom: {
    50: '#e682c9',
    500: '#d542b2',
    950: '#000000',
  },
}
SCSS
$custom: #d542b2;
$custom-light: #e682c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d542b2",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 314.286,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62536,
    "c": 0.21623,
    "h": 338.9
  },
  "luminance": 0.21257
}

Semantic roles & 50–950 ramp

primary
#D542B2
secondary
#9AD8A9
accent
#E76941
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D542B2

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

Preview Lab → · Contrast checker → · Palette generator →

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