#531312#531312

#531312 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.8% C 0.095 H 25.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#531312
RGBrgb(83, 19, 18)
HSLhsl(1, 64%, 20%)
HSVhsv(1, 78%, 33%)
CMYKcmyk(0%, 77.1%, 78.3%, 67.5%)
CIE-LABlab(17.22, 29.40, 17.97)
CIE-LCHlch(17.22, 34.46, 31.43°)
OKLaboklab(29.77% 0.0854 0.0412)
OKLCHoklch(29.77% 0.095 25.8)
XYZxyz(3.9098, 2.3490, 0.8197)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531312 #125253
analogous
#531232 #531312 #533412
triadic
#531312 #125313 #131253
tetradic
#531312 #325312 #125253 #341253
square
#531312 #325312 #125253 #341253
split-complementary
#531312 #125334 #123253
monochromatic
#190605 #210707 #531312 #851F1D #B82A28

Accessibility & contrast

On white

14.29
#531312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#531312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531312
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531312#FFFFFF#000000##FFFFFF
##5313121.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531312;
/* rgb */ color: rgb(83, 19, 18);
/* oklch */ color: oklch(29.8% 0.095 25.8);
Tailwind
colors: {
  custom: {
    50: '#895650',
    500: '#531312',
    950: '#000000',
  },
}
SCSS
$custom: #531312;
$custom-light: #895650;
$custom-dark: #000000;
JSON
{
  "hex": "#531312",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.923,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29772,
    "c": 0.0948,
    "h": 25.8
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#531312
secondary
#358A8C
accent
#E5E740
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #531312

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

Preview Lab → · Contrast checker → · Palette generator →

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