#5C212E#5C212E

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

Color values

HEX#5C212E
RGBrgb(92, 33, 46)
HSLhsl(347, 47%, 25%)
HSVhsv(347, 64%, 36%)
CMYKcmyk(0%, 64.1%, 50%, 63.9%)
CIE-LABlab(22.16, 28.32, 5.50)
CIE-LCHlch(22.16, 28.85, 10.98°)
OKLaboklab(34.01% 0.086 0.0143)
OKLCHoklch(34.01% 0.087 9.4)
XYZxyz(5.4510, 3.5609, 2.9845)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C212E #215C4F
analogous
#5C214C #5C212E #5C3221
triadic
#5C212E #2E5C21 #212E5C
tetradic
#5C212E #4C5C21 #215C4F #32215C
square
#5C212E #4C5C21 #215C4F #32215C
split-complementary
#5C212E #215C32 #214C5C
monochromatic
#17080B #2F1117 #5C212E #893145 #B6415B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C212E#FFFFFF#000000##FFFFFF
##5C212E1.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)
#2D2E2E
Deuteranopia (green-blind)
#3D392D
Tritanopia (blue-blind)
#641926
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c212e;
/* rgb */ color: rgb(92, 33, 46);
/* oklch */ color: oklch(34.0% 0.087 9.4);
Tailwind
colors: {
  custom: {
    50: '#8e5f66',
    500: '#5c212e',
    950: '#000000',
  },
}
SCSS
$custom: #5c212e;
$custom-light: #8e5f66;
$custom-dark: #000000;
JSON
{
  "hex": "#5c212e",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 346.78,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34007,
    "c": 0.08715,
    "h": 9.4
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#5C212E
secondary
#499080
accent
#D7B951
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0505
muted
#7E797A

Preview Lab

Preview with #5C212E

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

Preview Lab → · Contrast checker → · Palette generator →

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