#511422#511422

#511422 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.091 H 11.0°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#511422
RGBrgb(81, 20, 34)
HSLhsl(346, 60%, 20%)
HSVhsv(346, 75%, 32%)
CMYKcmyk(0%, 75.3%, 58%, 68.2%)
CIE-LABlab(17.30, 29.40, 6.82)
CIE-LCHlch(17.30, 30.18, 13.06°)
OKLaboklab(29.86% 0.0891 0.0173)
OKLCHoklch(29.86% 0.091 11)
XYZxyz(3.9326, 2.3657, 1.7626)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511422 #145143
analogous
#511440 #511422 #512514
triadic
#511422 #225114 #142251
tetradic
#511422 #405114 #145143 #251451
square
#511422 #405114 #145143 #251451
split-complementary
#511422 #145125 #144051
monochromatic
#19060A #20080D #511422 #822037 #B32C4B

Accessibility & contrast

On white

14.26
#511422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#511422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511422
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511422#FFFFFF#000000##FFFFFF
##5114221.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232322
Deuteranopia (green-blind)
#332F21
Tritanopia (blue-blind)
#59081A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511422;
/* rgb */ color: rgb(81, 20, 34);
/* oklch */ color: oklch(29.9% 0.091 11.0);
Tailwind
colors: {
  custom: {
    50: '#86565c',
    500: '#511422',
    950: '#000000',
  },
}
SCSS
$custom: #511422;
$custom-light: #86565c;
$custom-dark: #000000;
JSON
{
  "hex": "#511422",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 34
  },
  "hsl": {
    "h": 346.23,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29862,
    "c": 0.09071,
    "h": 11
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#511422
secondary
#388976
accent
#E4BF44
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511422

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

Preview Lab → · Contrast checker → · Palette generator →

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