#511F19#511F19

#511F19 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.2% C 0.077 H 29.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#511F19
RGBrgb(81, 31, 25)
HSLhsl(6, 53%, 21%)
HSVhsv(6, 69%, 32%)
CMYKcmyk(0%, 61.7%, 69.1%, 68.2%)
CIE-LABlab(19.22, 22.94, 15.66)
CIE-LCHlch(19.22, 27.78, 34.32°)
OKLaboklab(31.24% 0.067 0.0372)
OKLCHoklch(31.24% 0.077 29.1)
XYZxyz(4.0592, 2.8000, 1.2462)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F19 #194B51
analogous
#51192F #511F19 #513B19
triadic
#511F19 #19511F #1F1951
tetradic
#511F19 #2F5119 #194B51 #3B1951
square
#511F19 #2F5119 #194B51 #3B1951
split-complementary
#511F19 #19513B #192F51
monochromatic
#170907 #220D0B #511F19 #803127 #AF4336

Accessibility & contrast

On white

13.46
#511F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F19
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F19#FFFFFF#000000##FFFFFF
##511F191.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2818
Deuteranopia (green-blind)
#383318
Tritanopia (blue-blind)
#59151E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f19;
/* rgb */ color: rgb(81, 31, 25);
/* oklch */ color: oklch(31.2% 0.077 29.1);
Tailwind
colors: {
  custom: {
    50: '#865c55',
    500: '#511f19',
    950: '#000000',
  },
}
SCSS
$custom: #511f19;
$custom-light: #865c55;
$custom-dark: #000000;
JSON
{
  "hex": "#511f19",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 6.429,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3124,
    "c": 0.07659,
    "h": 29.1
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#511F19
secondary
#3E8087
accent
#CDDC4C
background
#F8F5F4
surface
#F0E9E8
border
#CBC5C4
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511F19

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

Preview Lab → · Contrast checker → · Palette generator →

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