#D542BC#D542BC

#D542BC is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 63.0% C 0.223 H 335.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#D542BC
RGBrgb(213, 66, 188)
HSLhsl(310, 64%, 55%)
HSVhsv(310, 69%, 84%)
CMYKcmyk(0%, 69%, 11.7%, 16.5%)
CIE-LABlab(53.68, 69.49, -33.88)
CIE-LCHlch(53.68, 77.31, 334.01°)
OKLaboklab(63.01% 0.203 -0.0923)
OKLCHoklch(63.01% 0.223 335.5)
XYZxyz(38.4664, 21.6767, 49.7253)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542BC #42D55B
analogous
#A442D5 #D542BC #D54273
triadic
#D542BC #BCD542 #42BCD5
tetradic
#D542BC #D5A442 #42D55B #4273D5
square
#D542BC #D5A442 #42D55B #4273D5
split-complementary
#D542BC #73D542 #42D5A4
monochromatic
#801C6F #B2289B #D542BC #E074CE #EBA6E0

Accessibility & contrast

On white

3.94
#D542BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#D542BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542BC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542BC#FFFFFF#000000##000000
##D542BC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BF
Deuteranopia (green-blind)
#7588B8
Tritanopia (blue-blind)
#DF4C7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d542bc;
/* rgb */ color: rgb(213, 66, 188);
/* oklch */ color: oklch(63.0% 0.223 335.5);
Tailwind
colors: {
  custom: {
    50: '#e682d0',
    500: '#d542bc',
    950: '#000000',
  },
}
SCSS
$custom: #d542bc;
$custom-light: #e682d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d542bc",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 310.204,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63008,
    "c": 0.22303,
    "h": 335.5
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#D542BC
secondary
#9AD8A5
accent
#E75D41
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D542BC

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

Preview Lab → · Contrast checker → · Palette generator →

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