#511213#511213

#511213 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.093 H 24.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#511213
RGBrgb(81, 18, 19)
HSLhsl(359, 64%, 19%)
HSVhsv(359, 78%, 32%)
CMYKcmyk(0%, 77.8%, 76.5%, 68.2%)
CIE-LABlab(16.65, 29.15, 16.55)
CIE-LCHlch(16.65, 33.52, 29.58°)
OKLaboklab(29.27% 0.0851 0.0383)
OKLCHoklch(29.27% 0.093 24.3)
XYZxyz(3.7276, 2.2295, 0.8500)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511213 #125150
analogous
#511233 #511213 #513112
triadic
#511213 #135112 #121351
tetradic
#511213 #335112 #125150 #311251
square
#511213 #335112 #125150 #311251
split-complementary
#511213 #125131 #123351
monochromatic
#190606 #1F0707 #511213 #831D1F #B5282A

Accessibility & contrast

On white

14.52
#511213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#511213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511213
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511213#FFFFFF#000000##FFFFFF
##5112131.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242112
Deuteranopia (green-blind)
#342E11
Tritanopia (blue-blind)
#5A0013
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #511213;
/* rgb */ color: rgb(81, 18, 19);
/* oklch */ color: oklch(29.3% 0.093 24.3);
Tailwind
colors: {
  custom: {
    50: '#885550',
    500: '#511213',
    950: '#000000',
  },
}
SCSS
$custom: #511213;
$custom-light: #885550;
$custom-dark: #000000;
JSON
{
  "hex": "#511213",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 359.048,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29271,
    "c": 0.09334,
    "h": 24.3
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#511213
secondary
#358A89
accent
#E7E441
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511213

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

Preview Lab → · Contrast checker → · Palette generator →

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