#5B232E#5B232E

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

Color values

HEX#5B232E
RGBrgb(91, 35, 46)
HSLhsl(348, 44%, 25%)
HSVhsv(348, 62%, 36%)
CMYKcmyk(0%, 61.5%, 49.5%, 64.3%)
CIE-LABlab(22.39, 26.86, 5.79)
CIE-LCHlch(22.39, 27.47, 12.16°)
OKLaboklab(34.14% 0.0814 0.015)
OKLCHoklch(34.14% 0.083 10.4)
XYZxyz(5.4089, 3.6241, 2.9989)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B232E #235B50
analogous
#5B234A #5B232E #5B3423
triadic
#5B232E #2E5B23 #232E5B
tetradic
#5B232E #4A5B23 #235B50 #34235B
square
#5B232E #4A5B23 #235B50 #34235B
split-complementary
#5B232E #235B34 #234A5B
monochromatic
#16090B #2F1218 #5B232E #873444 #B3455B

Accessibility & contrast

On white

12.18
#5B232E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B232E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B232E#FFFFFF#000000##FFFFFF
##5B232E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2E
Deuteranopia (green-blind)
#3D3A2D
Tritanopia (blue-blind)
#631C27
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b232e;
/* rgb */ color: rgb(91, 35, 46);
/* oklch */ color: oklch(34.1% 0.083 10.4);
Tailwind
colors: {
  custom: {
    50: '#8d6066',
    500: '#5b232e',
    950: '#000000',
  },
}
SCSS
$custom: #5b232e;
$custom-light: #8d6066;
$custom-dark: #000000;
JSON
{
  "hex": "#5b232e",
  "rgb": {
    "r": 91,
    "g": 35,
    "b": 46
  },
  "hsl": {
    "h": 348.214,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3414,
    "c": 0.08281,
    "h": 10.4
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#5B232E
secondary
#4B8F81
accent
#D4BB54
background
#F8F5F6
surface
#F0EAEB
border
#CBC6C6
text
#0C0506
muted
#7D797A

Preview Lab

Preview with #5B232E

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

Preview Lab → · Contrast checker → · Palette generator →

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