#51210C#51210C

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

Color values

HEX#51210C
RGBrgb(81, 33, 12)
HSLhsl(18, 74%, 18%)
HSVhsv(18, 85%, 32%)
CMYKcmyk(0%, 59.3%, 85.2%, 68.2%)
CIE-LABlab(19.49, 21.00, 23.74)
CIE-LCHlch(19.49, 31.69, 48.51°)
OKLaboklab(31.38% 0.0582 0.053)
OKLCHoklch(31.38% 0.079 42.3)
XYZxyz(4.0040, 2.8641, 0.6897)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51210C #0C3C51
analogous
#510C19 #51210C #51430C
triadic
#51210C #0C5121 #210C51
tetradic
#51210C #19510C #0C3C51 #430C51
square
#51210C #19510C #0C3C51 #430C51
split-complementary
#51210C #0C5143 #0C1951
monochromatic
#1B0B04 #1C0B04 #51210C #863714 #BC4C1C

Accessibility & contrast

On white

13.35
#51210C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51210C
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51210C#FFFFFF#000000##FFFFFF
##51210C1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2909
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#5A161D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #51210c;
/* rgb */ color: rgb(81, 33, 12);
/* oklch */ color: oklch(31.4% 0.079 42.3);
Tailwind
colors: {
  custom: {
    50: '#875d4c',
    500: '#51210c',
    950: '#000000',
  },
}
SCSS
$custom: #51210c;
$custom-light: #875d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#51210c",
  "rgb": {
    "r": 81,
    "g": 33,
    "b": 12
  },
  "hsl": {
    "h": 18.261,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31384,
    "c": 0.07867,
    "h": 42.3
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#51210C
secondary
#2C6F8C
accent
#B8F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #51210C

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

Preview Lab → · Contrast checker → · Palette generator →

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