#512810#512810

#512810 is a dark, moderate orange. Relative luminance 0.033; OKLCH L 32.7% C 0.071 H 48.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#512810
RGBrgb(81, 40, 16)
HSLhsl(22, 67%, 19%)
HSVhsv(22, 80%, 32%)
CMYKcmyk(0%, 50.6%, 80.2%, 68.2%)
CIE-LABlab(21.23, 16.96, 23.66)
CIE-LCHlch(21.23, 29.11, 54.37°)
OKLaboklab(32.72% 0.0467 0.053)
OKLCHoklch(32.72% 0.071 48.6)
XYZxyz(4.2460, 3.3048, 0.9044)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512810 #103951
analogous
#511019 #512810 #514910
triadic
#512810 #105128 #281051
tetradic
#512810 #195110 #103951 #491051
square
#512810 #195110 #103951 #491051
split-complementary
#512810 #105149 #101951
monochromatic
#1A0D05 #1E0F06 #512810 #84411A #B75A24

Accessibility & contrast

On white

12.64
#512810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#512810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512810
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512810#FFFFFF#000000##FFFFFF
##5128101.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0D
Deuteranopia (green-blind)
#3D370F
Tritanopia (blue-blind)
#591F23
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #512810;
/* rgb */ color: rgb(81, 40, 16);
/* oklch */ color: oklch(32.7% 0.071 48.6);
Tailwind
colors: {
  custom: {
    50: '#86624f',
    500: '#512810',
    950: '#000000',
  },
}
SCSS
$custom: #512810;
$custom-light: #86624f;
$custom-dark: #000000;
JSON
{
  "hex": "#512810",
  "rgb": {
    "r": 81,
    "g": 40,
    "b": 16
  },
  "hsl": {
    "h": 22.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.07062,
    "h": 48.6
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#512810
secondary
#326A8B
accent
#AAEA3E
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512810

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

Preview Lab → · Contrast checker → · Palette generator →

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