#D542AF#D542AF

#D542AF is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.4% C 0.214 H 340.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D542AF
RGBrgb(213, 66, 175)
HSLhsl(316, 64%, 55%)
HSVhsv(316, 69%, 84%)
CMYKcmyk(0%, 69%, 17.8%, 16.5%)
CIE-LABlab(53.10, 67.64, -27.22)
CIE-LCHlch(53.10, 72.91, 338.08°)
OKLaboklab(62.4% 0.2013 -0.0734)
OKLCHoklch(62.4% 0.214 340)
XYZxyz(37.1276, 21.1412, 42.6744)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542AF #42D568
analogous
#B142D5 #D542AF #D54266
triadic
#D542AF #AFD542 #42AFD5
tetradic
#D542AF #D5B142 #42D568 #4266D5
square
#D542AF #D5B142 #42D568 #4266D5
split-complementary
#D542AF #66D542 #42D5B1
monochromatic
#801C66 #B2288E #D542AF #E074C4 #EBA6D9

Accessibility & contrast

On white

4.02
#D542AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D542AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542AF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542AF#FFFFFF#000000##000000
##D542AF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#7A87AB
Tritanopia (blue-blind)
#E14673
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d542af;
/* rgb */ color: rgb(213, 66, 175);
/* oklch */ color: oklch(62.4% 0.214 340.0);
Tailwind
colors: {
  custom: {
    50: '#e682c7',
    500: '#d542af',
    950: '#000000',
  },
}
SCSS
$custom: #d542af;
$custom-light: #e682c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d542af",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 315.51,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62399,
    "c": 0.21427,
    "h": 340
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D542AF

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

Preview Lab → · Contrast checker → · Palette generator →

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