#512112#512112

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

Color values

HEX#512112
RGBrgb(81, 33, 18)
HSLhsl(14, 64%, 19%)
HSVhsv(14, 78%, 32%)
CMYKcmyk(0%, 59.3%, 77.8%, 68.2%)
CIE-LABlab(19.56, 21.31, 20.64)
CIE-LCHlch(19.56, 29.66, 44.08°)
OKLaboklab(31.46% 0.0604 0.0469)
OKLCHoklch(31.46% 0.076 37.9)
XYZxyz(4.0468, 2.8812, 0.9152)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512112 #124251
analogous
#511223 #512112 #514112
triadic
#512112 #125121 #211251
tetradic
#512112 #235112 #124251 #411251
square
#512112 #235112 #124251 #411251
split-complementary
#512112 #125141 #122351
monochromatic
#190A06 #1F0D07 #512112 #83351D #B54A28

Accessibility & contrast

On white

13.32
#512112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512112
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512112#FFFFFF#000000##FFFFFF
##5121121.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2910
Deuteranopia (green-blind)
#3A3311
Tritanopia (blue-blind)
#59171E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #512112;
/* rgb */ color: rgb(81, 33, 18);
/* oklch */ color: oklch(31.5% 0.076 37.9);
Tailwind
colors: {
  custom: {
    50: '#875e50',
    500: '#512112',
    950: '#000000',
  },
}
SCSS
$custom: #512112;
$custom-light: #875e50;
$custom-dark: #000000;
JSON
{
  "hex": "#512112",
  "rgb": {
    "r": 81,
    "g": 33,
    "b": 18
  },
  "hsl": {
    "h": 14.286,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31461,
    "c": 0.07648,
    "h": 37.9
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#512112
secondary
#35768A
accent
#BFE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512112

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

Preview Lab → · Contrast checker → · Palette generator →

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