#511518#511518

#511518 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.089 H 21.7°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#511518
RGBrgb(81, 21, 24)
HSLhsl(357, 59%, 20%)
HSVhsv(357, 74%, 32%)
CMYKcmyk(0%, 74.1%, 70.4%, 68.2%)
CIE-LABlab(17.24, 28.11, 13.85)
CIE-LCHlch(17.24, 31.34, 26.24°)
OKLaboklab(29.74% 0.083 0.033)
OKLCHoklch(29.74% 0.089 21.7)
XYZxyz(3.8268, 2.3522, 1.1165)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511518 #15514E
analogous
#511536 #511518 #513015
triadic
#511518 #185115 #151851
tetradic
#511518 #365115 #15514E #301551
square
#511518 #365115 #15514E #301551
split-complementary
#511518 #155130 #153651
monochromatic
#180607 #20080A #511518 #822226 #B22E35

Accessibility & contrast

On white

14.28
#511518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511518
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511518#FFFFFF#000000##FFFFFF
##5115181.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511518;
/* rgb */ color: rgb(81, 21, 24);
/* oklch */ color: oklch(29.7% 0.089 21.7);
Tailwind
colors: {
  custom: {
    50: '#875754',
    500: '#511518',
    950: '#000000',
  },
}
SCSS
$custom: #511518;
$custom-light: #875754;
$custom-dark: #000000;
JSON
{
  "hex": "#511518",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 24
  },
  "hsl": {
    "h": 357,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.29739,
    "c": 0.08932,
    "h": 21.7
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#511518
secondary
#398985
accent
#E2DA46
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511518

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

Preview Lab → · Contrast checker → · Palette generator →

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