#512014#512014

#512014 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.3% C 0.077 H 35.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#512014
RGBrgb(81, 32, 20)
HSLhsl(12, 60%, 20%)
HSVhsv(12, 75%, 32%)
CMYKcmyk(0%, 60.5%, 75.3%, 68.2%)
CIE-LABlab(19.36, 22.01, 19.14)
CIE-LCHlch(19.36, 29.17, 41.01°)
OKLaboklab(31.32% 0.063 0.0441)
OKLCHoklch(31.32% 0.077 35)
XYZxyz(4.0365, 2.8334, 0.9960)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512014 #144551
analogous
#511427 #512014 #513E14
triadic
#512014 #145120 #201451
tetradic
#512014 #275114 #144551 #3E1451
square
#512014 #275114 #144551 #3E1451
split-complementary
#512014 #14513E #142751
monochromatic
#190A06 #200D08 #512014 #823320 #B3472C

Accessibility & contrast

On white

13.40
#512014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#512014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512014
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512014#FFFFFF#000000##FFFFFF
##5120141.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2813
Deuteranopia (green-blind)
#393313
Tritanopia (blue-blind)
#59161D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #512014;
/* rgb */ color: rgb(81, 32, 20);
/* oklch */ color: oklch(31.3% 0.077 35.0);
Tailwind
colors: {
  custom: {
    50: '#865d51',
    500: '#512014',
    950: '#000000',
  },
}
SCSS
$custom: #512014;
$custom-light: #865d51;
$custom-dark: #000000;
JSON
{
  "hex": "#512014",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 20
  },
  "hsl": {
    "h": 11.803,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31319,
    "c": 0.07688,
    "h": 35
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#512014
secondary
#387989
accent
#C4E444
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512014

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

Preview Lab → · Contrast checker → · Palette generator →

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