#5B293F#5B293F

#5B293F is a dark, moderate pink. Relative luminance 0.042; OKLCH L 35.7% C 0.078 H 354.1°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#5B293F
RGBrgb(91, 41, 63)
HSLhsl(334, 38%, 26%)
HSVhsv(334, 55%, 36%)
CMYKcmyk(0%, 54.9%, 30.8%, 64.3%)
CIE-LABlab(24.22, 25.76, -3.17)
CIE-LCHlch(24.22, 25.95, 352.99°)
OKLaboklab(35.7% 0.078 -0.008)
OKLCHoklch(35.7% 0.078 354.1)
XYZxyz(6.0048, 4.1694, 5.1902)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B293F #295B45
analogous
#5B2958 #5B293F #5B2C29
triadic
#5B293F #3F5B29 #293F5B
tetradic
#5B293F #585B29 #295B45 #2C295B
square
#5B293F #585B29 #295B45 #2C295B
split-complementary
#5B293F #295B2C #29585B
monochromatic
#150A0F #311622 #5B293F #853C5C #AF4F79

Accessibility & contrast

On white

11.45
#5B293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B293F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B293F#FFFFFF#000000##FFFFFF
##5B293F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303440
Deuteranopia (green-blind)
#3D3D3E
Tritanopia (blue-blind)
#612631
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5b293f;
/* rgb */ color: rgb(91, 41, 63);
/* oklch */ color: oklch(35.7% 0.078 354.1);
Tailwind
colors: {
  custom: {
    50: '#8b6574',
    500: '#5b293f',
    950: '#000000',
  },
}
SCSS
$custom: #5b293f;
$custom-light: #8b6574;
$custom-dark: #000000;
JSON
{
  "hex": "#5b293f",
  "rgb": {
    "r": 91,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 333.6,
    "s": 37.879,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35697,
    "c": 0.07838,
    "h": 354.1
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#5B293F
secondary
#528E73
accent
#CE9B5A
background
#F8F6F7
surface
#F0EBED
border
#CBC6C8
text
#0C0508
muted
#7D7A7B

Preview Lab

Preview with #5B293F

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

Preview Lab → · Contrast checker → · Palette generator →

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