#512114#512114

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

Color values

HEX#512114
RGBrgb(81, 33, 20)
HSLhsl(13, 60%, 20%)
HSVhsv(13, 75%, 32%)
CMYKcmyk(0%, 59.3%, 75.3%, 68.2%)
CIE-LABlab(19.59, 21.43, 19.41)
CIE-LCHlch(19.59, 28.91, 42.16°)
OKLaboklab(31.49% 0.0612 0.0447)
OKLCHoklch(31.49% 0.076 36.1)
XYZxyz(4.0638, 2.8881, 1.0051)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512114 #144451
analogous
#511426 #512114 #514014
triadic
#512114 #145121 #211451
tetradic
#512114 #265114 #144451 #401451
square
#512114 #265114 #144451 #401451
split-complementary
#512114 #145140 #142651
monochromatic
#190A06 #200D08 #512114 #823520 #B3492C

Accessibility & contrast

On white

13.31
#512114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512114
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512114#FFFFFF#000000##FFFFFF
##5121141.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512114;
/* rgb */ color: rgb(81, 33, 20);
/* oklch */ color: oklch(31.5% 0.076 36.1);
Tailwind
colors: {
  custom: {
    50: '#865e52',
    500: '#512114',
    950: '#000000',
  },
}
SCSS
$custom: #512114;
$custom-light: #865e52;
$custom-dark: #000000;
JSON
{
  "hex": "#512114",
  "rgb": {
    "r": 81,
    "g": 33,
    "b": 20
  },
  "hsl": {
    "h": 12.787,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31491,
    "c": 0.07575,
    "h": 36.1
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#512114
secondary
#387889
accent
#C2E444
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512114

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

Preview Lab → · Contrast checker → · Palette generator →

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