#511F15#511F15

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

Color values

HEX#511F15
RGBrgb(81, 31, 21)
HSLhsl(10, 59%, 20%)
HSVhsv(10, 74%, 32%)
CMYKcmyk(0%, 61.7%, 74.1%, 68.2%)
CIE-LABlab(19.16, 22.65, 18.25)
CIE-LCHlch(19.16, 29.09, 38.85°)
OKLaboklab(31.17% 0.0652 0.0423)
OKLCHoklch(31.17% 0.078 33)
XYZxyz(4.0191, 2.7840, 1.0350)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F15 #154751
analogous
#511529 #511F15 #513D15
triadic
#511F15 #15511F #1F1551
tetradic
#511F15 #295115 #154751 #3D1551
square
#511F15 #295115 #154751 #3D1551
split-complementary
#511F15 #15513D #152951
monochromatic
#180906 #200C08 #511F15 #823222 #B2442E

Accessibility & contrast

On white

13.49
#511F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F15
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F15#FFFFFF#000000##FFFFFF
##511F151.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2814
Deuteranopia (green-blind)
#393314
Tritanopia (blue-blind)
#59151D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511f15;
/* rgb */ color: rgb(81, 31, 21);
/* oklch */ color: oklch(31.2% 0.078 33.0);
Tailwind
colors: {
  custom: {
    50: '#865c52',
    500: '#511f15',
    950: '#000000',
  },
}
SCSS
$custom: #511f15;
$custom-light: #865c52;
$custom-dark: #000000;
JSON
{
  "hex": "#511f15",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 21
  },
  "hsl": {
    "h": 10,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31167,
    "c": 0.07772,
    "h": 33
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#511F15
secondary
#397C89
accent
#C8E246
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511F15

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

Preview Lab → · Contrast checker → · Palette generator →

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