#511A15#511A15

#511A15 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.084 H 28.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#511A15
RGBrgb(81, 26, 21)
HSLhsl(5, 59%, 20%)
HSVhsv(5, 74%, 32%)
CMYKcmyk(0%, 67.9%, 74.1%, 68.2%)
CIE-LABlab(18.11, 25.40, 17.00)
CIE-LCHlch(18.11, 30.57, 33.79°)
OKLaboklab(30.38% 0.0738 0.0396)
OKLCHoklch(30.38% 0.084 28.2)
XYZxyz(3.8985, 2.5428, 0.9948)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A15 #154C51
analogous
#51152E #511A15 #513815
triadic
#511A15 #15511A #1A1551
tetradic
#511A15 #2E5115 #154C51 #381551
square
#511A15 #2E5115 #154C51 #381551
split-complementary
#511A15 #155138 #152E51
monochromatic
#180806 #200A08 #511A15 #822A22 #B2392E

Accessibility & contrast

On white

13.92
#511A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A15
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A15#FFFFFF#000000##FFFFFF
##511A151.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292514
Deuteranopia (green-blind)
#363113
Tritanopia (blue-blind)
#5A0E19
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511a15;
/* rgb */ color: rgb(81, 26, 21);
/* oklch */ color: oklch(30.4% 0.084 28.2);
Tailwind
colors: {
  custom: {
    50: '#875952',
    500: '#511a15',
    950: '#000000',
  },
}
SCSS
$custom: #511a15;
$custom-light: #875952;
$custom-dark: #000000;
JSON
{
  "hex": "#511a15",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 21
  },
  "hsl": {
    "h": 5,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30378,
    "c": 0.08371,
    "h": 28.2
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#511A15
secondary
#398289
accent
#D5E246
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511A15

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

Preview Lab → · Contrast checker → · Palette generator →

#511A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva