#D54281#D54281

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

Color values

HEX#D54281
RGBrgb(213, 66, 129)
HSLhsl(334, 64%, 55%)
HSVhsv(334, 69%, 84%)
CMYKcmyk(0%, 69%, 39.4%, 16.5%)
CIE-LABlab(51.42, 62.08, -2.52)
CIE-LCHlch(51.42, 62.13, 357.67°)
OKLaboklab(60.61% 0.1902 -0.0058)
OKLCHoklch(60.61% 0.19 358.2)
XYZxyz(33.3535, 19.6316, 22.7975)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54281 #42D596
analogous
#D542CA #D54281 #D54D42
triadic
#D54281 #81D542 #4281D5
tetradic
#D54281 #CAD542 #42D596 #4D42D5
square
#D54281 #CAD542 #42D596 #4D42D5
split-complementary
#D54281 #42D54D #42CAD5
monochromatic
#801C47 #B22863 #D54281 #E074A2 #EBA6C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54281#FFFFFF#000000##000000
##D542811.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)
#5F6983
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#E6315C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d54281;
/* rgb */ color: rgb(213, 66, 129);
/* oklch */ color: oklch(60.6% 0.190 358.2);
Tailwind
colors: {
  custom: {
    50: '#e781a5',
    500: '#d54281',
    950: '#000000',
  },
}
SCSS
$custom: #d54281;
$custom-light: #e781a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54281",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 334.286,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.19033,
    "h": 358.2
  },
  "luminance": 0.19628
}

Semantic roles & 50–950 ramp

primary
#D54281
secondary
#9AD8BE
accent
#E7A041
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D54281

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

Preview Lab → · Contrast checker → · Palette generator →

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