#512116#512116

#512116 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.5% C 0.075 H 34.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#512116
RGBrgb(81, 33, 22)
HSLhsl(11, 57%, 20%)
HSVhsv(11, 73%, 32%)
CMYKcmyk(0%, 59.3%, 72.8%, 68.2%)
CIE-LABlab(19.62, 21.57, 18.14)
CIE-LCHlch(19.62, 28.18, 40.07°)
OKLaboklab(31.52% 0.062 0.0423)
OKLCHoklch(31.52% 0.075 34.3)
XYZxyz(4.0824, 2.8955, 1.1028)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512116 #164651
analogous
#511629 #512116 #513E16
triadic
#512116 #165121 #211651
tetradic
#512116 #295116 #164651 #3E1651
square
#512116 #295116 #164651 #3E1651
split-complementary
#512116 #16513E #162951
monochromatic
#180A07 #210D09 #512116 #813523 #B14830

Accessibility & contrast

On white

13.30
#512116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#512116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512116
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512116#FFFFFF#000000##FFFFFF
##5121161.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2915
Deuteranopia (green-blind)
#393315
Tritanopia (blue-blind)
#59181F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #512116;
/* rgb */ color: rgb(81, 33, 22);
/* oklch */ color: oklch(31.5% 0.075 34.3);
Tailwind
colors: {
  custom: {
    50: '#865e53',
    500: '#512116',
    950: '#000000',
  },
}
SCSS
$custom: #512116;
$custom-light: #865e53;
$custom-dark: #000000;
JSON
{
  "hex": "#512116",
  "rgb": {
    "r": 81,
    "g": 33,
    "b": 22
  },
  "hsl": {
    "h": 11.186,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31524,
    "c": 0.07506,
    "h": 34.3
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#512116
secondary
#3A7A88
accent
#C4E147
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512116

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

Preview Lab → · Contrast checker → · Palette generator →

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