#5A232C#5A232C

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

Color values

HEX#5A232C
RGBrgb(90, 35, 44)
HSLhsl(350, 44%, 25%)
HSVhsv(350, 61%, 35%)
CMYKcmyk(0%, 61.1%, 51.1%, 64.7%)
CIE-LABlab(22.15, 26.24, 6.81)
CIE-LCHlch(22.15, 27.10, 14.55°)
OKLaboklab(33.91% 0.0794 0.0175)
OKLCHoklch(33.91% 0.081 12.4)
XYZxyz(5.2725, 3.5582, 2.7915)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A232C #235A51
analogous
#5A2348 #5A232C #5A3623
triadic
#5A232C #2C5A23 #232C5A
tetradic
#5A232C #485A23 #235A51 #36235A
square
#5A232C #485A23 #235A51 #36235A
split-complementary
#5A232C #235A36 #23485A
monochromatic
#16090B #2E1216 #5A232C #863442 #B24557

Accessibility & contrast

On white

12.27
#5A232C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A232C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A232C#FFFFFF#000000##FFFFFF
##5A232C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2C
Deuteranopia (green-blind)
#3D392B
Tritanopia (blue-blind)
#621C26
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5a232c;
/* rgb */ color: rgb(90, 35, 44);
/* oklch */ color: oklch(33.9% 0.081 12.4);
Tailwind
colors: {
  custom: {
    50: '#8c6064',
    500: '#5a232c',
    950: '#000000',
  },
}
SCSS
$custom: #5a232c;
$custom-light: #8c6064;
$custom-dark: #000000;
JSON
{
  "hex": "#5a232c",
  "rgb": {
    "r": 90,
    "g": 35,
    "b": 44
  },
  "hsl": {
    "h": 350.182,
    "s": 44,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33911,
    "c": 0.08128,
    "h": 12.4
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#5A232C
secondary
#4B8E83
accent
#D4BF54
background
#F8F5F6
surface
#F0EAEB
border
#CBC6C6
text
#0C0505
muted
#7D797A

Preview Lab

Preview with #5A232C

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

Preview Lab → · Contrast checker → · Palette generator →

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