#512010#512010

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

Color values

HEX#512010
RGBrgb(81, 32, 16)
HSLhsl(15, 67%, 19%)
HSVhsv(15, 80%, 32%)
CMYKcmyk(0%, 60.5%, 80.2%, 68.2%)
CIE-LABlab(19.31, 21.78, 21.51)
CIE-LCHlch(19.31, 30.61, 44.65°)
OKLaboklab(31.26% 0.0614 0.0486)
OKLCHoklch(31.26% 0.078 38.3)
XYZxyz(4.0038, 2.8203, 0.8236)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512010 #104151
analogous
#511021 #512010 #514110
triadic
#512010 #105120 #201051
tetradic
#512010 #215110 #104151 #411051
square
#512010 #215110 #104151 #411051
split-complementary
#512010 #105141 #102151
monochromatic
#1A0A05 #1E0C06 #512010 #84341A #B74824

Accessibility & contrast

On white

13.43
#512010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#512010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512010
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512010#FFFFFF#000000##FFFFFF
##5120101.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280E
Deuteranopia (green-blind)
#39330F
Tritanopia (blue-blind)
#5A151D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #512010;
/* rgb */ color: rgb(81, 32, 16);
/* oklch */ color: oklch(31.3% 0.078 38.3);
Tailwind
colors: {
  custom: {
    50: '#875d4f',
    500: '#512010',
    950: '#000000',
  },
}
SCSS
$custom: #512010;
$custom-light: #875d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#512010",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 16
  },
  "hsl": {
    "h": 14.769,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3126,
    "c": 0.07827,
    "h": 38.3
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#512010
secondary
#32758B
accent
#C0EA3E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512010

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

Preview Lab → · Contrast checker → · Palette generator →

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