#51210F#51210F

#51210F is a dark, moderate orange. Relative luminance 0.029; OKLCH L 31.4% C 0.078 H 40.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#51210F
RGBrgb(81, 33, 15)
HSLhsl(16, 69%, 19%)
HSVhsv(16, 81%, 32%)
CMYKcmyk(0%, 59.3%, 81.5%, 68.2%)
CIE-LABlab(19.52, 21.14, 22.30)
CIE-LCHlch(19.52, 30.73, 46.53°)
OKLaboklab(31.42% 0.0592 0.0501)
OKLCHoklch(31.42% 0.078 40.2)
XYZxyz(4.0238, 2.8720, 0.7943)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51210F #0F3F51
analogous
#510F1E #51210F #51420F
triadic
#51210F #0F5121 #210F51
tetradic
#51210F #1E510F #0F3F51 #420F51
square
#51210F #1E510F #0F3F51 #420F51
split-complementary
#51210F #0F5142 #0F1E51
monochromatic
#1A0B05 #1D0C05 #51210F #853619 #B84B22

Accessibility & contrast

On white

13.34
#51210F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#51210F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51210F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51210F#FFFFFF#000000##FFFFFF
##51210F1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290D
Deuteranopia (green-blind)
#3A330E
Tritanopia (blue-blind)
#5A171D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #51210f;
/* rgb */ color: rgb(81, 33, 15);
/* oklch */ color: oklch(31.4% 0.078 40.2);
Tailwind
colors: {
  custom: {
    50: '#875e4e',
    500: '#51210f',
    950: '#000000',
  },
}
SCSS
$custom: #51210f;
$custom-light: #875e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#51210f",
  "rgb": {
    "r": 81,
    "g": 33,
    "b": 15
  },
  "hsl": {
    "h": 16.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3142,
    "c": 0.07758,
    "h": 40.2
  },
  "luminance": 0.02872
}

Semantic roles & 50–950 ramp

primary
#51210F
secondary
#31728B
accent
#BCEC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #51210F

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

Preview Lab → · Contrast checker → · Palette generator →

#51210F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva