#5D2A4E#5D2A4E

#5D2A4E is a dark, moderate pink. Relative luminance 0.045; OKLCH L 36.8% C 0.089 H 339.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#5D2A4E
RGBrgb(93, 42, 78)
HSLhsl(318, 38%, 26%)
HSVhsv(318, 55%, 36%)
CMYKcmyk(0%, 54.8%, 16.1%, 63.5%)
CIE-LABlab(25.36, 28.44, -11.49)
CIE-LCHlch(25.36, 30.67, 338.00°)
OKLaboklab(36.81% 0.0837 -0.0308)
OKLCHoklch(36.81% 0.089 339.8)
XYZxyz(6.7174, 4.5336, 7.7275)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2A4E #2A5D39
analogous
#532A5D #5D2A4E #5D2A35
triadic
#5D2A4E #4E5D2A #2A4E5D
tetradic
#5D2A4E #5D532A #2A5D39 #2A355D
square
#5D2A4E #5D532A #2A5D39 #2A355D
split-complementary
#5D2A4E #355D2A #2A5D53
monochromatic
#150A12 #33172B #5D2A4E #873D71 #B05194

Accessibility & contrast

On white

11.01
#5D2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5D2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2A4E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2A4E#FFFFFF#000000##FFFFFF
##5D2A4E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#3A3F4D
Tritanopia (blue-blind)
#622B38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d2a4e;
/* rgb */ color: rgb(93, 42, 78);
/* oklch */ color: oklch(36.8% 0.089 339.8);
Tailwind
colors: {
  custom: {
    50: '#8c667f',
    500: '#5d2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5d2a4e;
$custom-light: #8c667f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2a4e",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 317.647,
    "s": 37.778,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36811,
    "c": 0.08919,
    "h": 339.8
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#5D2A4E
secondary
#538F65
accent
#CE7C5A
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5D2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#5D2A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva