#511C22#511C22

#511C22 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.080 H 16.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#511C22
RGBrgb(81, 28, 34)
HSLhsl(353, 49%, 21%)
HSVhsv(353, 65%, 32%)
CMYKcmyk(0%, 65.4%, 58%, 68.2%)
CIE-LABlab(18.78, 25.40, 8.85)
CIE-LCHlch(18.78, 26.90, 19.22°)
OKLaboklab(30.97% 0.0763 0.0222)
OKLCHoklch(30.97% 0.08 16.2)
XYZxyz(4.0977, 2.6958, 1.8176)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C22 #1C514B
analogous
#511C3D #511C22 #51311C
triadic
#511C22 #22511C #1C2251
tetradic
#511C22 #3D511C #1C514B #311C51
square
#511C22 #3D511C #1C514B #311C51
split-complementary
#511C22 #1C5131 #1C3D51
monochromatic
#17080A #240C0F #511C22 #7E2C35 #AC3B48

Accessibility & contrast

On white

13.65
#511C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C22
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C22#FFFFFF#000000##FFFFFF
##511C221.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282722
Deuteranopia (green-blind)
#363221
Tritanopia (blue-blind)
#59131E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c22;
/* rgb */ color: rgb(81, 28, 34);
/* oklch */ color: oklch(31.0% 0.080 16.2);
Tailwind
colors: {
  custom: {
    50: '#855b5c',
    500: '#511c22',
    950: '#000000',
  },
}
SCSS
$custom: #511c22;
$custom-light: #855b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511c22",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 34
  },
  "hsl": {
    "h": 353.208,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30969,
    "c": 0.0795,
    "h": 16.2
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#511C22
secondary
#42877F
accent
#D8C950
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511C22

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

Preview Lab → · Contrast checker → · Palette generator →

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