#D542A3#D542A3

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

Color values

HEX#D542A3
RGBrgb(213, 66, 163)
HSLhsl(320, 64%, 55%)
HSVhsv(320, 69%, 84%)
CMYKcmyk(0%, 69%, 23.5%, 16.5%)
CIE-LABlab(52.61, 66.04, -20.95)
CIE-LCHlch(52.61, 69.28, 342.40°)
OKLaboklab(61.88% 0.1992 -0.0558)
OKLCHoklch(61.88% 0.207 344.3)
XYZxyz(36.0010, 20.6906, 36.7409)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542A3 #42D574
analogous
#BD42D5 #D542A3 #D5425A
triadic
#D542A3 #A3D542 #42A3D5
tetradic
#D542A3 #D5BD42 #42D574 #425AD5
square
#D542A3 #D5BD42 #42D574 #425AD5
split-complementary
#D542A3 #5AD542 #42D5BD
monochromatic
#801C5E #B22883 #D542A3 #E074BB #EBA6D4

Accessibility & contrast

On white

4.09
#D542A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D542A3#FFFFFF#000000##000000
##D542A31.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA6
Deuteranopia (green-blind)
#7E87A0
Tritanopia (blue-blind)
#E3416D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d542a3;
/* rgb */ color: rgb(213, 66, 163);
/* oklch */ color: oklch(61.9% 0.207 344.3);
Tailwind
colors: {
  custom: {
    50: '#e682be',
    500: '#d542a3',
    950: '#000000',
  },
}
SCSS
$custom: #d542a3;
$custom-light: #e682be;
$custom-dark: #000000;
JSON
{
  "hex": "#d542a3",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 320.408,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.20682,
    "h": 344.3
  },
  "luminance": 0.20687
}

Semantic roles & 50–950 ramp

primary
#D542A3
secondary
#9AD8AF
accent
#E77941
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D542A3

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

Preview Lab → · Contrast checker → · Palette generator →

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