#511B24#511B24

#511B24 is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.9% C 0.081 H 13.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#511B24
RGBrgb(81, 27, 36)
HSLhsl(350, 50%, 21%)
HSVhsv(350, 67%, 32%)
CMYKcmyk(0%, 66.7%, 55.6%, 68.2%)
CIE-LABlab(18.63, 26.14, 7.24)
CIE-LCHlch(18.63, 27.12, 15.48°)
OKLaboklab(30.87% 0.079 0.0184)
OKLCHoklch(30.87% 0.081 13.1)
XYZxyz(4.1040, 2.6611, 1.9662)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B24 #1B5148
analogous
#511B3F #511B24 #512D1B
triadic
#511B24 #24511B #1B2451
tetradic
#511B24 #3F511B #1B5148 #2D1B51
square
#511B24 #3F511B #1B5148 #2D1B51
split-complementary
#511B24 #1B512D #1B3F51
monochromatic
#17080A #230C10 #511B24 #7F2A38 #AD3A4D

Accessibility & contrast

On white

13.71
#511B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511B24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B24
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B24#FFFFFF#000000##FFFFFF
##511B241.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272624
Deuteranopia (green-blind)
#353123
Tritanopia (blue-blind)
#59131E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b24;
/* rgb */ color: rgb(81, 27, 36);
/* oklch */ color: oklch(30.9% 0.081 13.1);
Tailwind
colors: {
  custom: {
    50: '#855a5e',
    500: '#511b24',
    950: '#000000',
  },
}
SCSS
$custom: #511b24;
$custom-light: #855a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#511b24",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 36
  },
  "hsl": {
    "h": 350,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30873,
    "c": 0.08106,
    "h": 13.1
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#511B24
secondary
#41877B
accent
#DAC24E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511B24

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

Preview Lab → · Contrast checker → · Palette generator →

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