#5A232D#5A232D

#5A232D is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.9% C 0.081 H 11.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#5A232D
RGBrgb(90, 35, 45)
HSLhsl(349, 44%, 25%)
HSVhsv(349, 61%, 35%)
CMYKcmyk(0%, 61.1%, 50%, 64.7%)
CIE-LABlab(22.18, 26.35, 6.16)
CIE-LCHlch(22.18, 27.06, 13.16°)
OKLaboklab(33.94% 0.0798 0.0159)
OKLCHoklch(33.94% 0.081 11.3)
XYZxyz(5.2915, 3.5658, 2.8917)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A232D #235A50
analogous
#5A2349 #5A232D #5A3523
triadic
#5A232D #2D5A23 #232D5A
tetradic
#5A232D #495A23 #235A50 #35235A
square
#5A232D #495A23 #235A50 #35235A
split-complementary
#5A232D #235A35 #23495A
monochromatic
#16090B #2E1217 #5A232D #863443 #B24559

Accessibility & contrast

On white

12.26
#5A232D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A232D
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A232D#FFFFFF#000000##FFFFFF
##5A232D1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a232d;
/* rgb */ color: rgb(90, 35, 45);
/* oklch */ color: oklch(33.9% 0.081 11.3);
Tailwind
colors: {
  custom: {
    50: '#8c6065',
    500: '#5a232d',
    950: '#000000',
  },
}
SCSS
$custom: #5a232d;
$custom-light: #8c6065;
$custom-dark: #000000;
JSON
{
  "hex": "#5a232d",
  "rgb": {
    "r": 90,
    "g": 35,
    "b": 45
  },
  "hsl": {
    "h": 349.091,
    "s": 44,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3394,
    "c": 0.08139,
    "h": 11.3
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#5A232D
secondary
#4B8E82
accent
#D4BD54
background
#F8F5F6
surface
#F0EAEB
border
#CBC6C6
text
#0C0505
muted
#7D797A

Preview Lab

Preview with #5A232D

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

Preview Lab → · Contrast checker → · Palette generator →

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