#511318#511318

#511318 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.092 H 20.4°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#511318
RGBrgb(81, 19, 24)
HSLhsl(355, 62%, 20%)
HSVhsv(355, 77%, 32%)
CMYKcmyk(0%, 76.5%, 70.4%, 68.2%)
CIE-LABlab(16.90, 29.03, 13.43)
CIE-LCHlch(16.90, 31.98, 24.82°)
OKLaboklab(29.49% 0.0859 0.032)
OKLCHoklch(29.49% 0.092 20.4)
XYZxyz(3.7915, 2.2816, 1.1047)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511318 #13514C
analogous
#511337 #511318 #512D13
triadic
#511318 #185113 #131851
tetradic
#511318 #375113 #13514C #2D1351
square
#511318 #375113 #13514C #2D1351
split-complementary
#511318 #13512D #133751
monochromatic
#190607 #1F0709 #511318 #831F27 #B42A35

Accessibility & contrast

On white

14.42
#511318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511318
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511318#FFFFFF#000000##FFFFFF
##5113181.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511318;
/* rgb */ color: rgb(81, 19, 24);
/* oklch */ color: oklch(29.5% 0.092 20.4);
Tailwind
colors: {
  custom: {
    50: '#875654',
    500: '#511318',
    950: '#000000',
  },
}
SCSS
$custom: #511318;
$custom-light: #875654;
$custom-dark: #000000;
JSON
{
  "hex": "#511318",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 24
  },
  "hsl": {
    "h": 355.161,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29488,
    "c": 0.0917,
    "h": 20.4
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#511318
secondary
#368A83
accent
#E5D843
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511318

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

Preview Lab → · Contrast checker → · Palette generator →

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