#511315#511315

#511315 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.092 H 23.2°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#511315
RGBrgb(81, 19, 21)
HSLhsl(358, 62%, 20%)
HSVhsv(358, 77%, 32%)
CMYKcmyk(0%, 76.5%, 74.1%, 68.2%)
CIE-LABlab(16.84, 28.83, 15.46)
CIE-LCHlch(16.84, 32.71, 28.21°)
OKLaboklab(29.43% 0.0846 0.0362)
OKLCHoklch(29.43% 0.092 23.2)
XYZxyz(3.7620, 2.2698, 0.9493)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511315 #13514F
analogous
#511334 #511315 #513013
triadic
#511315 #155113 #131551
tetradic
#511315 #345113 #13514F #301351
square
#511315 #345113 #13514F #301351
split-complementary
#511315 #135130 #133451
monochromatic
#190606 #1F0708 #511315 #831F22 #B42A2F

Accessibility & contrast

On white

14.44
#511315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#511315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511315
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511315#FFFFFF#000000##FFFFFF
##5113151.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242115
Deuteranopia (green-blind)
#342E13
Tritanopia (blue-blind)
#5A0214
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511315;
/* rgb */ color: rgb(81, 19, 21);
/* oklch */ color: oklch(29.4% 0.092 23.2);
Tailwind
colors: {
  custom: {
    50: '#875652',
    500: '#511315',
    950: '#000000',
  },
}
SCSS
$custom: #511315;
$custom-light: #875652;
$custom-dark: #000000;
JSON
{
  "hex": "#511315",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 21
  },
  "hsl": {
    "h": 358.065,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29427,
    "c": 0.09198,
    "h": 23.2
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#511315
secondary
#368A87
accent
#E5E043
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511315

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

Preview Lab → · Contrast checker → · Palette generator →

#511315 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva