#5B232B#5B232B

#5B232B is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.1% C 0.082 H 13.8°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#5B232B
RGBrgb(91, 35, 43)
HSLhsl(351, 44%, 25%)
HSVhsv(351, 62%, 36%)
CMYKcmyk(0%, 61.5%, 52.7%, 64.3%)
CIE-LABlab(22.31, 26.53, 7.74)
CIE-LCHlch(22.31, 27.63, 16.26°)
OKLaboklab(34.05% 0.0801 0.0197)
OKLCHoklch(34.05% 0.082 13.8)
XYZxyz(5.3519, 3.6012, 2.6983)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B232B #235B53
analogous
#5B2347 #5B232B #5B3723
triadic
#5B232B #2B5B23 #232B5B
tetradic
#5B232B #475B23 #235B53 #37235B
square
#5B232B #475B23 #235B53 #37235B
split-complementary
#5B232B #235B37 #23475B
monochromatic
#16090A #2F1216 #5B232B #873440 #B34555

Accessibility & contrast

On white

12.21
#5B232B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5B232B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B232B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B232B#FFFFFF#000000##FFFFFF
##5B232B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2B
Deuteranopia (green-blind)
#3D3A2A
Tritanopia (blue-blind)
#631B26
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b232b;
/* rgb */ color: rgb(91, 35, 43);
/* oklch */ color: oklch(34.1% 0.082 13.8);
Tailwind
colors: {
  custom: {
    50: '#8d6064',
    500: '#5b232b',
    950: '#000000',
  },
}
SCSS
$custom: #5b232b;
$custom-light: #8d6064;
$custom-dark: #000000;
JSON
{
  "hex": "#5b232b",
  "rgb": {
    "r": 91,
    "g": 35,
    "b": 43
  },
  "hsl": {
    "h": 351.429,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34053,
    "c": 0.08249,
    "h": 13.8
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#5B232B
secondary
#4B8F85
accent
#D4C254
background
#F8F5F5
surface
#F0EAEA
border
#CBC6C6
text
#0D0505
muted
#7D7979

Preview Lab

Preview with #5B232B

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

Preview Lab → · Contrast checker → · Palette generator →

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