#5B294B#5B294B

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

Color values

HEX#5B294B
RGBrgb(91, 41, 75)
HSLhsl(319, 38%, 26%)
HSVhsv(319, 55%, 36%)
CMYKcmyk(0%, 54.9%, 17.6%, 64.3%)
CIE-LABlab(24.70, 27.75, -10.53)
CIE-LCHlch(24.70, 29.69, 339.22°)
OKLaboklab(36.21% 0.082 -0.0281)
OKLCHoklch(36.21% 0.087 341.1)
XYZxyz(6.3774, 4.3185, 7.1529)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B294B #295B39
analogous
#52295B #5B294B #5B2932
triadic
#5B294B #4B5B29 #294B5B
tetradic
#5B294B #5B5229 #295B39 #29325B
square
#5B294B #5B5229 #295B39 #29325B
split-complementary
#5B294B #325B29 #295B52
monochromatic
#150A11 #311628 #5B294B #853C6E #AF4F91

Accessibility & contrast

On white

11.27
#5B294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B294B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B294B#FFFFFF#000000##FFFFFF
##5B294B1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364C
Deuteranopia (green-blind)
#393E4A
Tritanopia (blue-blind)
#602A36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5b294b;
/* rgb */ color: rgb(91, 41, 75);
/* oklch */ color: oklch(36.2% 0.087 341.1);
Tailwind
colors: {
  custom: {
    50: '#8b657d',
    500: '#5b294b',
    950: '#000000',
  },
}
SCSS
$custom: #5b294b;
$custom-light: #8b657d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b294b",
  "rgb": {
    "r": 91,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 319.2,
    "s": 37.879,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36207,
    "c": 0.0867,
    "h": 341.1
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#5B294B
secondary
#528E65
accent
#CE7F5A
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C0609
muted
#7D7A7B

Preview Lab

Preview with #5B294B

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

Preview Lab → · Contrast checker → · Palette generator →

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