#5B293C#5B293C

#5B293C is a dark, moderate pink. Relative luminance 0.041; OKLCH L 35.6% C 0.077 H 357.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#5B293C
RGBrgb(91, 41, 60)
HSLhsl(337, 38%, 26%)
HSVhsv(337, 55%, 36%)
CMYKcmyk(0%, 54.9%, 34.1%, 64.3%)
CIE-LABlab(24.12, 25.31, -1.29)
CIE-LCHlch(24.12, 25.34, 357.09°)
OKLaboklab(35.58% 0.0768 -0.0031)
OKLCHoklch(35.58% 0.077 357.7)
XYZxyz(5.9232, 4.1368, 4.7606)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B293C #295B48
analogous
#5B2955 #5B293C #5B2F29
triadic
#5B293C #3C5B29 #293C5B
tetradic
#5B293C #555B29 #295B48 #2F295B
square
#5B293C #555B29 #295B48 #2F295B
split-complementary
#5B293C #295B2F #29555B
monochromatic
#150A0E #311620 #5B293C #853C58 #AF4F74

Accessibility & contrast

On white

11.49
#5B293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5B293C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B293C
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B293C#FFFFFF#000000##FFFFFF
##5B293C1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30343D
Deuteranopia (green-blind)
#3D3D3B
Tritanopia (blue-blind)
#622630
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5b293c;
/* rgb */ color: rgb(91, 41, 60);
/* oklch */ color: oklch(35.6% 0.077 357.7);
Tailwind
colors: {
  custom: {
    50: '#8b6571',
    500: '#5b293c',
    950: '#000000',
  },
}
SCSS
$custom: #5b293c;
$custom-light: #8b6571;
$custom-dark: #000000;
JSON
{
  "hex": "#5b293c",
  "rgb": {
    "r": 91,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 337.2,
    "s": 37.879,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35583,
    "c": 0.07687,
    "h": 357.7
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#5B293C
secondary
#528E77
accent
#CEA25A
background
#F8F6F6
surface
#F0EBEC
border
#CBC6C7
text
#0C0507
muted
#7D7A7A

Preview Lab

Preview with #5B293C

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

Preview Lab → · Contrast checker → · Palette generator →

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