#D542B0#D542B0

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

Color values

HEX#D542B0
RGBrgb(213, 66, 176)
HSLhsl(315, 64%, 55%)
HSVhsv(315, 69%, 84%)
CMYKcmyk(0%, 69%, 17.4%, 16.5%)
CIE-LABlab(53.15, 67.78, -27.74)
CIE-LCHlch(53.15, 73.23, 337.74°)
OKLaboklab(62.44% 0.2015 -0.0749)
OKLCHoklch(62.44% 0.215 339.6)
XYZxyz(37.2262, 21.1807, 43.1936)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542B0 #42D567
analogous
#B042D5 #D542B0 #D54267
triadic
#D542B0 #B0D542 #42B0D5
tetradic
#D542B0 #D5B042 #42D567 #4267D5
square
#D542B0 #D5B042 #42D567 #4267D5
split-complementary
#D542B0 #67D542 #42D5B0
monochromatic
#801C67 #B2288F #D542B0 #E074C5 #EBA6DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D542B0#FFFFFF#000000##000000
##D542B01.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)
#4B70B3
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#E14773
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d542b0;
/* rgb */ color: rgb(213, 66, 176);
/* oklch */ color: oklch(62.4% 0.215 339.6);
Tailwind
colors: {
  custom: {
    50: '#e682c8',
    500: '#d542b0',
    950: '#000000',
  },
}
SCSS
$custom: #d542b0;
$custom-light: #e682c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d542b0",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 315.102,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62444,
    "c": 0.21493,
    "h": 339.6
  },
  "luminance": 0.21177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D542B0

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

Preview Lab → · Contrast checker → · Palette generator →

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