#5B2A4E#5B2A4E

#5B2A4E is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.5% C 0.087 H 338.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#5B2A4E
RGBrgb(91, 42, 78)
HSLhsl(316, 37%, 26%)
HSVhsv(316, 54%, 36%)
CMYKcmyk(0%, 53.8%, 14.3%, 64.3%)
CIE-LABlab(25.05, 27.73, -12.00)
CIE-LCHlch(25.05, 30.21, 336.60°)
OKLaboklab(36.51% 0.0812 -0.0322)
OKLCHoklch(36.51% 0.087 338.3)
XYZxyz(6.5176, 4.4306, 7.7182)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2A4E #2A5B37
analogous
#4F2A5B #5B2A4E #5B2A35
triadic
#5B2A4E #4E5B2A #2A4E5B
tetradic
#5B2A4E #5B4F2A #2A5B37 #2A355B
square
#5B2A4E #5B4F2A #2A5B37 #2A355B
split-complementary
#5B2A4E #355B2A #2A5B4F
monochromatic
#150A12 #31172A #5B2A4E #853D72 #AF5196

Accessibility & contrast

On white

11.13
#5B2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5B2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2A4E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2A4E#FFFFFF#000000##FFFFFF
##5B2A4E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#393E4D
Tritanopia (blue-blind)
#602B38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5b2a4e;
/* rgb */ color: rgb(91, 42, 78);
/* oklch */ color: oklch(36.5% 0.087 338.3);
Tailwind
colors: {
  custom: {
    50: '#8b667f',
    500: '#5b2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5b2a4e;
$custom-light: #8b667f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2a4e",
  "rgb": {
    "r": 91,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 315.918,
    "s": 36.842,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.08734,
    "h": 338.3
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#5B2A4E
secondary
#538D63
accent
#CD795B
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5B2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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