#5B294A#5B294A

#5B294A is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.2% C 0.086 H 342.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#5B294A
RGBrgb(91, 41, 74)
HSLhsl(320, 38%, 26%)
HSVhsv(320, 55%, 36%)
CMYKcmyk(0%, 54.9%, 18.7%, 64.3%)
CIE-LABlab(24.65, 27.58, -9.93)
CIE-LCHlch(24.65, 29.31, 340.20°)
OKLaboklab(36.16% 0.0817 -0.0265)
OKLCHoklch(36.16% 0.086 342.1)
XYZxyz(6.3435, 4.3049, 6.9741)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B294A #295B3A
analogous
#53295B #5B294A #5B2931
triadic
#5B294A #4A5B29 #294A5B
tetradic
#5B294A #5B5329 #295B3A #29315B
square
#5B294A #5B5329 #295B3A #29315B
split-complementary
#5B294A #315B29 #295B53
monochromatic
#150A11 #311628 #5B294A #853C6C #AF4F8F

Accessibility & contrast

On white

11.29
#5B294A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5B294A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B294A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B294A#FFFFFF#000000##FFFFFF
##5B294A1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C354B
Deuteranopia (green-blind)
#3A3E49
Tritanopia (blue-blind)
#602936
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5b294a;
/* rgb */ color: rgb(91, 41, 74);
/* oklch */ color: oklch(36.2% 0.086 342.1);
Tailwind
colors: {
  custom: {
    50: '#8b657c',
    500: '#5b294a',
    950: '#000000',
  },
}
SCSS
$custom: #5b294a;
$custom-light: #8b657c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b294a",
  "rgb": {
    "r": 91,
    "g": 41,
    "b": 74
  },
  "hsl": {
    "h": 320.4,
    "s": 37.879,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36161,
    "c": 0.08589,
    "h": 342.1
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#5B294A
secondary
#528E66
accent
#CE815A
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C0609
muted
#7D7A7B

Preview Lab

Preview with #5B294A

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

Preview Lab → · Contrast checker → · Palette generator →

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