#511F13#511F13

#511F13 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.1% C 0.078 H 34.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#511F13
RGBrgb(81, 31, 19)
HSLhsl(12, 62%, 20%)
HSVhsv(12, 77%, 32%)
CMYKcmyk(0%, 61.7%, 76.5%, 68.2%)
CIE-LABlab(19.13, 22.53, 19.52)
CIE-LCHlch(19.13, 29.80, 40.90°)
OKLaboklab(31.14% 0.0644 0.0447)
OKLCHoklch(31.14% 0.078 34.8)
XYZxyz(4.0013, 2.7768, 0.9412)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F13 #134551
analogous
#511326 #511F13 #513E13
triadic
#511F13 #13511F #1F1351
tetradic
#511F13 #265113 #134551 #3E1351
square
#511F13 #265113 #134551 #3E1351
split-complementary
#511F13 #13513E #132651
monochromatic
#190906 #1F0C07 #511F13 #83321F #B4452A

Accessibility & contrast

On white

13.50
#511F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F13
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F13#FFFFFF#000000##FFFFFF
##511F131.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2812
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#5A151C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511f13;
/* rgb */ color: rgb(81, 31, 19);
/* oklch */ color: oklch(31.1% 0.078 34.8);
Tailwind
colors: {
  custom: {
    50: '#875c51',
    500: '#511f13',
    950: '#000000',
  },
}
SCSS
$custom: #511f13;
$custom-light: #875c51;
$custom-dark: #000000;
JSON
{
  "hex": "#511f13",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 19
  },
  "hsl": {
    "h": 11.613,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31135,
    "c": 0.07836,
    "h": 34.8
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#511F13
secondary
#36798A
accent
#C6E543
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511F13

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

Preview Lab → · Contrast checker → · Palette generator →

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