#5A232E#5A232E

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

Color values

HEX#5A232E
RGBrgb(90, 35, 46)
HSLhsl(348, 44%, 25%)
HSVhsv(348, 61%, 35%)
CMYKcmyk(0%, 61.1%, 48.9%, 64.7%)
CIE-LABlab(22.21, 26.46, 5.51)
CIE-LCHlch(22.21, 27.03, 11.76°)
OKLaboklab(33.97% 0.0803 0.0143)
OKLCHoklch(33.97% 0.082 10.1)
XYZxyz(5.3110, 3.5736, 2.9943)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A232E #235A4F
analogous
#5A234A #5A232E #5A3423
triadic
#5A232E #2E5A23 #232E5A
tetradic
#5A232E #4A5A23 #235A4F #34235A
square
#5A232E #4A5A23 #235A4F #34235A
split-complementary
#5A232E #235A34 #234A5A
monochromatic
#16090B #2E1217 #5A232E #863445 #B2455B

Accessibility & contrast

On white

12.25
#5A232E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5A232E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A232E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A232E#FFFFFF#000000##FFFFFF
##5A232E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2E
Deuteranopia (green-blind)
#3C392D
Tritanopia (blue-blind)
#621C27
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5a232e;
/* rgb */ color: rgb(90, 35, 46);
/* oklch */ color: oklch(34.0% 0.082 10.1);
Tailwind
colors: {
  custom: {
    50: '#8c6066',
    500: '#5a232e',
    950: '#000000',
  },
}
SCSS
$custom: #5a232e;
$custom-light: #8c6066;
$custom-dark: #000000;
JSON
{
  "hex": "#5a232e",
  "rgb": {
    "r": 90,
    "g": 35,
    "b": 46
  },
  "hsl": {
    "h": 348,
    "s": 44,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3397,
    "c": 0.08153,
    "h": 10.1
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#5A232E
secondary
#4B8E80
accent
#D4BA54
background
#F8F5F6
surface
#F0EAEB
border
#CBC6C6
text
#0C0506
muted
#7D797A

Preview Lab

Preview with #5A232E

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

Preview Lab → · Contrast checker → · Palette generator →

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