#D54282#D54282

#D54282 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.191 H 357.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D54282
RGBrgb(213, 66, 130)
HSLhsl(334, 64%, 55%)
HSVhsv(334, 69%, 84%)
CMYKcmyk(0%, 69%, 39%, 16.5%)
CIE-LABlab(51.45, 62.18, -3.08)
CIE-LCHlch(51.45, 62.26, 357.17°)
OKLaboklab(60.65% 0.1906 -0.0073)
OKLCHoklch(60.65% 0.191 357.8)
XYZxyz(33.4203, 19.6583, 23.1493)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54282 #42D595
analogous
#D542CB #D54282 #D54C42
triadic
#D54282 #82D542 #4282D5
tetradic
#D54282 #CBD542 #42D595 #4C42D5
square
#D54282 #CBD542 #42D595 #4C42D5
split-complementary
#D54282 #42D54C #42CBD5
monochromatic
#801C48 #B22864 #D54282 #E074A3 #EBA6C4

Accessibility & contrast

On white

4.26
#D54282 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D54282 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54282
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54282#FFFFFF#000000##000000
##D542821.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6984
Deuteranopia (green-blind)
#87857F
Tritanopia (blue-blind)
#E6325D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d54282;
/* rgb */ color: rgb(213, 66, 130);
/* oklch */ color: oklch(60.6% 0.191 357.8);
Tailwind
colors: {
  custom: {
    50: '#e781a6',
    500: '#d54282',
    950: '#000000',
  },
}
SCSS
$custom: #d54282;
$custom-light: #e781a6;
$custom-dark: #000000;
JSON
{
  "hex": "#d54282",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 333.878,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.1907,
    "h": 357.8
  },
  "luminance": 0.19654
}

Semantic roles & 50–950 ramp

primary
#D54282
secondary
#9AD8BD
accent
#E79F41
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D54282

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

Preview Lab → · Contrast checker → · Palette generator →

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