#512019#512019

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

Color values

HEX#512019
RGBrgb(81, 32, 25)
HSLhsl(8, 53%, 21%)
HSVhsv(8, 69%, 32%)
CMYKcmyk(0%, 60.5%, 69.1%, 68.2%)
CIE-LABlab(19.45, 22.37, 15.93)
CIE-LCHlch(19.45, 27.46, 35.46°)
OKLaboklab(31.41% 0.0652 0.0378)
OKLCHoklch(31.41% 0.075 30.1)
XYZxyz(4.0857, 2.8530, 1.2551)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512019 #194A51
analogous
#51192E #512019 #513C19
triadic
#512019 #195120 #201951
tetradic
#512019 #2E5119 #194A51 #3C1951
square
#512019 #2E5119 #194A51 #3C1951
split-complementary
#512019 #19513C #192E51
monochromatic
#170907 #220E0B #512019 #803227 #AF4536

Accessibility & contrast

On white

13.37
#512019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512019
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512019#FFFFFF#000000##FFFFFF
##5120191.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2918
Deuteranopia (green-blind)
#393318
Tritanopia (blue-blind)
#59171E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #512019;
/* rgb */ color: rgb(81, 32, 25);
/* oklch */ color: oklch(31.4% 0.075 30.1);
Tailwind
colors: {
  custom: {
    50: '#865d55',
    500: '#512019',
    950: '#000000',
  },
}
SCSS
$custom: #512019;
$custom-light: #865d55;
$custom-dark: #000000;
JSON
{
  "hex": "#512019",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 25
  },
  "hsl": {
    "h": 7.5,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31407,
    "c": 0.07533,
    "h": 30.1
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#512019
secondary
#3E7E87
accent
#CADC4C
background
#F8F5F4
surface
#F0E9E8
border
#CBC5C4
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #512019

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

Preview Lab → · Contrast checker → · Palette generator →

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