#D542C3#D542C3

#D542C3 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.4% C 0.228 H 333.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D542C3
RGBrgb(213, 66, 195)
HSLhsl(307, 64%, 55%)
HSVhsv(307, 69%, 84%)
CMYKcmyk(0%, 69%, 8.5%, 16.5%)
CIE-LABlab(54.01, 70.53, -37.40)
CIE-LCHlch(54.01, 79.83, 332.06°)
OKLaboklab(63.35% 0.2037 -0.1025)
OKLCHoklch(63.35% 0.228 333.3)
XYZxyz(39.2393, 21.9859, 53.7962)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542C3 #42D554
analogous
#9E42D5 #D542C3 #D5427A
triadic
#D542C3 #C3D542 #42C3D5
tetradic
#D542C3 #D59E42 #42D554 #427AD5
square
#D542C3 #D59E42 #42D554 #427AD5
split-complementary
#D542C3 #7AD542 #42D59E
monochromatic
#801C74 #B228A1 #D542C3 #E074D3 #EBA6E3

Accessibility & contrast

On white

3.89
#D542C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D542C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542C3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542C3#FFFFFF#000000##000000
##D542C31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C7
Deuteranopia (green-blind)
#7289BF
Tritanopia (blue-blind)
#DE4F7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d542c3;
/* rgb */ color: rgb(213, 66, 195);
/* oklch */ color: oklch(63.4% 0.228 333.3);
Tailwind
colors: {
  custom: {
    50: '#e683d5',
    500: '#d542c3',
    950: '#000000',
  },
}
SCSS
$custom: #d542c3;
$custom-light: #e683d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d542c3",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 307.347,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63353,
    "c": 0.22799,
    "h": 333.3
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

primary
#D542C3
secondary
#9AD8A2
accent
#E75541
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D542C3

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

Preview Lab → · Contrast checker → · Palette generator →

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