#511522#511522

#511522 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.089 H 11.5°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#511522
RGBrgb(81, 21, 34)
HSLhsl(347, 59%, 20%)
HSVhsv(347, 74%, 32%)
CMYKcmyk(0%, 74.1%, 58%, 68.2%)
CIE-LABlab(17.47, 28.94, 7.05)
CIE-LCHlch(17.47, 29.79, 13.70°)
OKLaboklab(29.99% 0.0876 0.0179)
OKLCHoklch(29.99% 0.089 11.5)
XYZxyz(3.9506, 2.4017, 1.7686)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511522 #155144
analogous
#511540 #511522 #512615
triadic
#511522 #225115 #152251
tetradic
#511522 #405115 #155144 #261551
square
#511522 #405115 #155144 #261551
split-complementary
#511522 #155126 #154051
monochromatic
#18060A #20080E #511522 #822236 #B22E4B

Accessibility & contrast

On white

14.19
#511522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#511522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511522
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511522#FFFFFF#000000##FFFFFF
##5115221.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232322
Deuteranopia (green-blind)
#332F21
Tritanopia (blue-blind)
#590A1A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511522;
/* rgb */ color: rgb(81, 21, 34);
/* oklch */ color: oklch(30.0% 0.089 11.5);
Tailwind
colors: {
  custom: {
    50: '#86575c',
    500: '#511522',
    950: '#000000',
  },
}
SCSS
$custom: #511522;
$custom-light: #86575c;
$custom-dark: #000000;
JSON
{
  "hex": "#511522",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 34
  },
  "hsl": {
    "h": 347,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.29987,
    "c": 0.08938,
    "h": 11.5
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#511522
secondary
#398978
accent
#E2C046
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511522

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

Preview Lab → · Contrast checker → · Palette generator →

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