#5B232F#5B232F

#5B232F is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.2% C 0.083 H 9.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#5B232F
RGBrgb(91, 35, 47)
HSLhsl(347, 44%, 25%)
HSVhsv(347, 62%, 36%)
CMYKcmyk(0%, 61.5%, 48.4%, 64.3%)
CIE-LABlab(22.42, 26.97, 5.14)
CIE-LCHlch(22.42, 27.46, 10.79°)
OKLaboklab(34.17% 0.0819 0.0134)
OKLCHoklch(34.17% 0.083 9.3)
XYZxyz(5.4289, 3.6321, 3.1039)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B232F #235B4F
analogous
#5B234B #5B232F #5B3323
triadic
#5B232F #2F5B23 #232F5B
tetradic
#5B232F #4B5B23 #235B4F #33235B
square
#5B232F #4B5B23 #235B4F #33235B
split-complementary
#5B232F #235B33 #234B5B
monochromatic
#16090B #2F1218 #5B232F #873446 #B3455D

Accessibility & contrast

On white

12.17
#5B232F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5B232F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B232F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B232F#FFFFFF#000000##FFFFFF
##5B232F1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2F2F
Deuteranopia (green-blind)
#3D3A2E
Tritanopia (blue-blind)
#631C28
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b232f;
/* rgb */ color: rgb(91, 35, 47);
/* oklch */ color: oklch(34.2% 0.083 9.3);
Tailwind
colors: {
  custom: {
    50: '#8c6067',
    500: '#5b232f',
    950: '#000000',
  },
}
SCSS
$custom: #5b232f;
$custom-light: #8c6067;
$custom-dark: #000000;
JSON
{
  "hex": "#5b232f",
  "rgb": {
    "r": 91,
    "g": 35,
    "b": 47
  },
  "hsl": {
    "h": 347.143,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3417,
    "c": 0.08297,
    "h": 9.3
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#5B232F
secondary
#4B8F80
accent
#D4B954
background
#F8F5F6
surface
#F0EAEB
border
#CBC6C6
text
#0C0506
muted
#7D797A

Preview Lab

Preview with #5B232F

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

Preview Lab → · Contrast checker → · Palette generator →

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