#512013#512013

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

Color values

HEX#512013
RGBrgb(81, 32, 19)
HSLhsl(13, 62%, 20%)
HSVhsv(13, 77%, 32%)
CMYKcmyk(0%, 60.5%, 76.5%, 68.2%)
CIE-LABlab(19.35, 21.95, 19.77)
CIE-LCHlch(19.35, 29.54, 42.01°)
OKLaboklab(31.3% 0.0626 0.0453)
OKLCHoklch(31.3% 0.077 35.9)
XYZxyz(4.0278, 2.8299, 0.9501)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512013 #134451
analogous
#511325 #512013 #513F13
triadic
#512013 #135120 #201351
tetradic
#512013 #255113 #134451 #3F1351
square
#512013 #255113 #134451 #3F1351
split-complementary
#512013 #13513F #132551
monochromatic
#190A06 #1F0C07 #512013 #83341F #B4472A

Accessibility & contrast

On white

13.41
#512013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512013
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512013#FFFFFF#000000##FFFFFF
##5120131.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512013;
/* rgb */ color: rgb(81, 32, 19);
/* oklch */ color: oklch(31.3% 0.077 35.9);
Tailwind
colors: {
  custom: {
    50: '#875d51',
    500: '#512013',
    950: '#000000',
  },
}
SCSS
$custom: #512013;
$custom-light: #875d51;
$custom-dark: #000000;
JSON
{
  "hex": "#512013",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 19
  },
  "hsl": {
    "h": 12.581,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31304,
    "c": 0.07723,
    "h": 35.9
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#512013
secondary
#36788A
accent
#C3E543
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512013

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

Preview Lab → · Contrast checker → · Palette generator →

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