#D542B1#D542B1

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

Color values

HEX#D542B1
RGBrgb(213, 66, 177)
HSLhsl(315, 64%, 55%)
HSVhsv(315, 69%, 84%)
CMYKcmyk(0%, 69%, 16.9%, 16.5%)
CIE-LABlab(53.19, 67.92, -28.25)
CIE-LCHlch(53.19, 73.56, 337.41°)
OKLaboklab(62.49% 0.2016 -0.0763)
OKLCHoklch(62.49% 0.216 339.3)
XYZxyz(37.3255, 21.2204, 43.7166)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542B1 #42D566
analogous
#B042D5 #D542B1 #D54268
triadic
#D542B1 #B1D542 #42B1D5
tetradic
#D542B1 #D5B042 #42D566 #4268D5
square
#D542B1 #D5B042 #42D566 #4268D5
split-complementary
#D542B1 #68D542 #42D5B0
monochromatic
#801C68 #B22890 #D542B1 #E074C6 #EBA6DA

Accessibility & contrast

On white

4.01
#D542B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D542B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542B1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542B1#FFFFFF#000000##000000
##D542B11.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#7987AD
Tritanopia (blue-blind)
#E14774
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d542b1;
/* rgb */ color: rgb(213, 66, 177);
/* oklch */ color: oklch(62.5% 0.216 339.3);
Tailwind
colors: {
  custom: {
    50: '#e682c8',
    500: '#d542b1',
    950: '#000000',
  },
}
SCSS
$custom: #d542b1;
$custom-light: #e682c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d542b1",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 314.694,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6249,
    "c": 0.21558,
    "h": 339.3
  },
  "luminance": 0.21217
}

Semantic roles & 50–950 ramp

primary
#D542B1
secondary
#9AD8AA
accent
#E76A41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D542B1

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

Preview Lab → · Contrast checker → · Palette generator →

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