#511513#511513

#511513 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.090 H 26.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#511513
RGBrgb(81, 21, 19)
HSLhsl(2, 62%, 20%)
HSVhsv(2, 77%, 32%)
CMYKcmyk(0%, 74.1%, 76.5%, 68.2%)
CIE-LABlab(17.15, 27.79, 17.16)
CIE-LCHlch(17.15, 32.66, 31.69°)
OKLaboklab(29.64% 0.0808 0.0397)
OKLCHoklch(29.64% 0.09 26.1)
XYZxyz(3.7795, 2.3332, 0.8673)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511513 #134F51
analogous
#511330 #511513 #513413
triadic
#511513 #135115 #151351
tetradic
#511513 #305113 #134F51 #341351
square
#511513 #305113 #134F51 #341351
split-complementary
#511513 #135134 #133051
monochromatic
#190606 #1F0807 #511513 #83221F #B42F2A

Accessibility & contrast

On white

14.32
#511513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511513
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511513#FFFFFF#000000##FFFFFF
##5115131.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262212
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#5A0515
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511513;
/* rgb */ color: rgb(81, 21, 19);
/* oklch */ color: oklch(29.6% 0.090 26.1);
Tailwind
colors: {
  custom: {
    50: '#875750',
    500: '#511513',
    950: '#000000',
  },
}
SCSS
$custom: #511513;
$custom-light: #875750;
$custom-dark: #000000;
JSON
{
  "hex": "#511513",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 19
  },
  "hsl": {
    "h": 1.935,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29643,
    "c": 0.09,
    "h": 26.1
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#511513
secondary
#36878A
accent
#E0E543
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511513

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

Preview Lab → · Contrast checker → · Palette generator →

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