#511B15#511B15

#511B15 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.083 H 29.1°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#511B15
RGBrgb(81, 27, 21)
HSLhsl(6, 59%, 20%)
HSVhsv(6, 74%, 32%)
CMYKcmyk(0%, 66.7%, 74.1%, 68.2%)
CIE-LABlab(18.31, 24.87, 17.24)
CIE-LCHlch(18.31, 30.26, 34.73°)
OKLaboklab(30.53% 0.0721 0.0401)
OKLCHoklch(30.53% 0.083 29.1)
XYZxyz(3.9210, 2.5879, 1.0024)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B15 #154B51
analogous
#51152D #511B15 #513915
triadic
#511B15 #15511B #1B1551
tetradic
#511B15 #2D5115 #154B51 #391551
square
#511B15 #2D5115 #154B51 #391551
split-complementary
#511B15 #155139 #152D51
monochromatic
#180806 #200B08 #511B15 #822B22 #B23B2E

Accessibility & contrast

On white

13.84
#511B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B15
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B15#FFFFFF#000000##FFFFFF
##511B151.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292514
Deuteranopia (green-blind)
#373114
Tritanopia (blue-blind)
#5A0F1A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b15;
/* rgb */ color: rgb(81, 27, 21);
/* oklch */ color: oklch(30.5% 0.083 29.1);
Tailwind
colors: {
  custom: {
    50: '#875a52',
    500: '#511b15',
    950: '#000000',
  },
}
SCSS
$custom: #511b15;
$custom-light: #875a52;
$custom-dark: #000000;
JSON
{
  "hex": "#511b15",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 21
  },
  "hsl": {
    "h": 6,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30528,
    "c": 0.0825,
    "h": 29.1
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#511B15
secondary
#398189
accent
#D2E246
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511B15

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

Preview Lab → · Contrast checker → · Palette generator →

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