#511F18#511F18

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

Color values

HEX#511F18
RGBrgb(81, 31, 24)
HSLhsl(7, 54%, 21%)
HSVhsv(7, 70%, 32%)
CMYKcmyk(0%, 61.7%, 70.4%, 68.2%)
CIE-LABlab(19.21, 22.87, 16.31)
CIE-LCHlch(19.21, 28.09, 35.50°)
OKLaboklab(31.22% 0.0665 0.0385)
OKLCHoklch(31.22% 0.077 30.1)
XYZxyz(4.0486, 2.7958, 1.1904)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F18 #184A51
analogous
#51182D #511F18 #513B18
triadic
#511F18 #18511F #1F1851
tetradic
#511F18 #2D5118 #184A51 #3B1851
square
#511F18 #2D5118 #184A51 #3B1851
split-complementary
#511F18 #18513B #182D51
monochromatic
#180907 #220D0A #511F18 #803126 #AF4334

Accessibility & contrast

On white

13.47
#511F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F18
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F18#FFFFFF#000000##FFFFFF
##511F181.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511f18;
/* rgb */ color: rgb(81, 31, 24);
/* oklch */ color: oklch(31.2% 0.077 30.1);
Tailwind
colors: {
  custom: {
    50: '#865c55',
    500: '#511f18',
    950: '#000000',
  },
}
SCSS
$custom: #511f18;
$custom-light: #865c55;
$custom-dark: #000000;
JSON
{
  "hex": "#511f18",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 7.368,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31221,
    "c": 0.07685,
    "h": 30.1
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#511F18
secondary
#3D7F88
accent
#CCDE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511F18

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

Preview Lab → · Contrast checker → · Palette generator →

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