#D542A4#D542A4

#D542A4 is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.9% C 0.207 H 344.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D542A4
RGBrgb(213, 66, 164)
HSLhsl(320, 64%, 55%)
HSVhsv(320, 69%, 84%)
CMYKcmyk(0%, 69%, 23%, 16.5%)
CIE-LABlab(52.65, 66.17, -21.47)
CIE-LCHlch(52.65, 69.56, 342.02°)
OKLaboklab(61.92% 0.1994 -0.0573)
OKLCHoklch(61.92% 0.207 344)
XYZxyz(36.0909, 20.7266, 37.2147)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542A4 #42D573
analogous
#BC42D5 #D542A4 #D5425B
triadic
#D542A4 #A4D542 #42A4D5
tetradic
#D542A4 #D5BC42 #42D573 #425BD5
square
#D542A4 #D5BC42 #42D573 #425BD5
split-complementary
#D542A4 #5BD542 #42D5BC
monochromatic
#801C5F #B22884 #D542A4 #E074BC #EBA6D4

Accessibility & contrast

On white

4.08
#D542A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D542A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542A4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542A4#FFFFFF#000000##000000
##D542A41.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#7D87A1
Tritanopia (blue-blind)
#E3416D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d542a4;
/* rgb */ color: rgb(213, 66, 164);
/* oklch */ color: oklch(61.9% 0.207 344.0);
Tailwind
colors: {
  custom: {
    50: '#e682bf',
    500: '#d542a4',
    950: '#000000',
  },
}
SCSS
$custom: #d542a4;
$custom-light: #e682bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d542a4",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 320,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61919,
    "c": 0.20741,
    "h": 344
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#D542A4
secondary
#9AD8AF
accent
#E77841
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D542A4

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

Preview Lab → · Contrast checker → · Palette generator →

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