#531218#531218

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

Color values

HEX#531218
RGBrgb(83, 18, 24)
HSLhsl(354, 64%, 20%)
HSVhsv(354, 78%, 33%)
CMYKcmyk(0%, 78.3%, 71.1%, 67.5%)
CIE-LABlab(17.17, 30.20, 13.86)
CIE-LCHlch(17.17, 33.23, 24.65°)
OKLaboklab(29.77% 0.0894 0.0329)
OKLCHoklch(29.77% 0.095 20.2)
XYZxyz(3.9489, 2.3381, 1.1073)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531218 #12534D
analogous
#531238 #531218 #532D12
triadic
#531218 #185312 #121853
tetradic
#531218 #385312 #12534D #2D1253
square
#531218 #385312 #12534D #2D1253
split-complementary
#531218 #12532D #123853
monochromatic
#190507 #210709 #531218 #851D27 #B82835

Accessibility & contrast

On white

14.31
#531218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531218
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531218#FFFFFF#000000##FFFFFF
##5312181.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242118
Deuteranopia (green-blind)
#342F16
Tritanopia (blue-blind)
#5C0115
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #531218;
/* rgb */ color: rgb(83, 18, 24);
/* oklch */ color: oklch(29.8% 0.095 20.2);
Tailwind
colors: {
  custom: {
    50: '#895554',
    500: '#531218',
    950: '#000000',
  },
}
SCSS
$custom: #531218;
$custom-light: #895554;
$custom-dark: #000000;
JSON
{
  "hex": "#531218",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 354.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29768,
    "c": 0.09523,
    "h": 20.2
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#531218
secondary
#358C84
accent
#E7D840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #531218

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

Preview Lab → · Contrast checker → · Palette generator →

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