#531222#531222

#531222 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.096 H 10.7°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#531222
RGBrgb(83, 18, 34)
HSLhsl(345, 64%, 20%)
HSVhsv(345, 78%, 33%)
CMYKcmyk(0%, 78.3%, 59%, 67.5%)
CIE-LABlab(17.40, 30.99, 7.03)
CIE-LCHlch(17.40, 31.77, 12.78°)
OKLaboklab(30.02% 0.0939 0.0178)
OKLCHoklch(30.02% 0.096 10.7)
XYZxyz(4.0727, 2.3877, 1.7595)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531222 #125343
analogous
#531242 #531222 #532312
triadic
#531222 #225312 #122253
tetradic
#531222 #425312 #125343 #231253
square
#531222 #425312 #125343 #231253
split-complementary
#531222 #125323 #124253
monochromatic
#19050A #21070D #531222 #851D37 #B8284B

Accessibility & contrast

On white

14.21
#531222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#531222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531222
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531222#FFFFFF#000000##FFFFFF
##5312221.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222222
Deuteranopia (green-blind)
#333020
Tritanopia (blue-blind)
#5B0419
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #531222;
/* rgb */ color: rgb(83, 18, 34);
/* oklch */ color: oklch(30.0% 0.096 10.7);
Tailwind
colors: {
  custom: {
    50: '#88565c',
    500: '#531222',
    950: '#000000',
  },
}
SCSS
$custom: #531222;
$custom-light: #88565c;
$custom-dark: #000000;
JSON
{
  "hex": "#531222",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 345.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30016,
    "c": 0.09556,
    "h": 10.7
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#531222
secondary
#358C76
accent
#E7BE40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #531222

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

Preview Lab → · Contrast checker → · Palette generator →

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