#511F22#511F22

#511F22 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.075 H 18.8°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#511F22
RGBrgb(81, 31, 34)
HSLhsl(356, 45%, 22%)
HSVhsv(356, 62%, 32%)
CMYKcmyk(0%, 61.7%, 58%, 68.2%)
CIE-LABlab(19.41, 23.74, 9.71)
CIE-LCHlch(19.41, 25.65, 22.25°)
OKLaboklab(31.44% 0.0711 0.0242)
OKLCHoklch(31.44% 0.075 18.8)
XYZxyz(4.1724, 2.8453, 1.8425)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F22 #1F514E
analogous
#511F3B #511F22 #51351F
triadic
#511F22 #22511F #1F2251
tetradic
#511F22 #3B511F #1F514E #351F51
square
#511F22 #3B511F #1F514E #351F51
split-complementary
#511F22 #1F5135 #1F3B51
monochromatic
#160809 #250E0F #511F22 #7D3035 #AA4147

Accessibility & contrast

On white

13.38
#511F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F22
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F22#FFFFFF#000000##FFFFFF
##511F221.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2922
Deuteranopia (green-blind)
#373321
Tritanopia (blue-blind)
#591720
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f22;
/* rgb */ color: rgb(81, 31, 34);
/* oklch */ color: oklch(31.4% 0.075 18.8);
Tailwind
colors: {
  custom: {
    50: '#855d5c',
    500: '#511f22',
    950: '#000000',
  },
}
SCSS
$custom: #511f22;
$custom-light: #855d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511f22",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 356.4,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31444,
    "c": 0.07512,
    "h": 18.8
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#511F22
secondary
#468682
accent
#D4CD53
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511F22

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

Preview Lab → · Contrast checker → · Palette generator →

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