#D542B3#D542B3

#D542B3 is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 62.6% C 0.217 H 338.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#D542B3
RGBrgb(213, 66, 179)
HSLhsl(314, 64%, 55%)
HSVhsv(314, 69%, 84%)
CMYKcmyk(0%, 69%, 16%, 16.5%)
CIE-LABlab(53.28, 68.20, -29.28)
CIE-LCHlch(53.28, 74.22, 336.76°)
OKLaboklab(62.58% 0.2019 -0.0793)
OKLCHoklch(62.58% 0.217 338.6)
XYZxyz(37.5263, 21.3007, 44.7742)
Luminance0.2130 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542B3 #42D564
analogous
#AE42D5 #D542B3 #D54269
triadic
#D542B3 #B3D542 #42B3D5
tetradic
#D542B3 #D5AE42 #42D564 #4269D5
square
#D542B3 #D5AE42 #42D564 #4269D5
split-complementary
#D542B3 #69D542 #42D5AE
monochromatic
#801C69 #B22892 #D542B3 #E074C7 #EBA6DB

Accessibility & contrast

On white

3.99
#D542B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#D542B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542B3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542B3#FFFFFF#000000##000000
##D542B31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4971B6
Deuteranopia (green-blind)
#7888AF
Tritanopia (blue-blind)
#E14875
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d542b3;
/* rgb */ color: rgb(213, 66, 179);
/* oklch */ color: oklch(62.6% 0.217 338.6);
Tailwind
colors: {
  custom: {
    50: '#e682ca',
    500: '#d542b3',
    950: '#000000',
  },
}
SCSS
$custom: #d542b3;
$custom-light: #e682ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d542b3",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 313.878,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62582,
    "c": 0.2169,
    "h": 338.6
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D542B3

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

Preview Lab → · Contrast checker → · Palette generator →

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