#531212#531212

#531212 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.096 H 25.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#531212
RGBrgb(83, 18, 18)
HSLhsl(0, 64%, 20%)
HSVhsv(0, 78%, 33%)
CMYKcmyk(0%, 78.3%, 78.3%, 67.5%)
CIE-LABlab(17.06, 29.84, 17.78)
CIE-LCHlch(17.06, 34.73, 30.79°)
OKLaboklab(29.65% 0.0867 0.0408)
OKLCHoklch(29.65% 0.096 25.2)
XYZxyz(3.8932, 2.3159, 0.8142)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531212 #125353
analogous
#531233 #531212 #533312
triadic
#531212 #125312 #121253
tetradic
#531212 #335312 #125353 #331253
square
#531212 #335312 #125353 #331253
split-complementary
#531212 #125333 #123353
monochromatic
#190505 #210707 #531212 #851D1D #B82828

Accessibility & contrast

On white

14.35
#531212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#531212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531212
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531212#FFFFFF#000000##FFFFFF
##5312121.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252111
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5C0013
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #531212;
/* rgb */ color: rgb(83, 18, 18);
/* oklch */ color: oklch(29.7% 0.096 25.2);
Tailwind
colors: {
  custom: {
    50: '#895550',
    500: '#531212',
    950: '#000000',
  },
}
SCSS
$custom: #531212;
$custom-light: #895550;
$custom-dark: #000000;
JSON
{
  "hex": "#531212",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29655,
    "c": 0.09586,
    "h": 25.2
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#531212
secondary
#358C8C
accent
#E7E740
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #531212

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

Preview Lab → · Contrast checker → · Palette generator →

#531212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva