#51220C#51220C

#51220C is a dark, moderate orange. Relative luminance 0.029; OKLCH L 31.6% C 0.078 H 43.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#51220C
RGBrgb(81, 34, 12)
HSLhsl(19, 74%, 18%)
HSVhsv(19, 85%, 32%)
CMYKcmyk(0%, 58%, 85.2%, 68.2%)
CIE-LABlab(19.72, 20.41, 24.00)
CIE-LCHlch(19.72, 31.51, 49.63°)
OKLaboklab(31.56% 0.0564 0.0535)
OKLCHoklch(31.56% 0.078 43.5)
XYZxyz(4.0321, 2.9204, 0.6991)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51220C #0C3B51
analogous
#510C18 #51220C #51440C
triadic
#51220C #0C5122 #220C51
tetradic
#51220C #18510C #0C3B51 #440C51
square
#51220C #18510C #0C3B51 #440C51
split-complementary
#51220C #0C5144 #0C1851
monochromatic
#1B0B04 #1C0C04 #51220C #863814 #BC4F1C

Accessibility & contrast

On white

13.26
#51220C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#51220C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51220C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51220C#FFFFFF#000000##FFFFFF
##51220C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2909
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#5A181D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #51220c;
/* rgb */ color: rgb(81, 34, 12);
/* oklch */ color: oklch(31.6% 0.078 43.5);
Tailwind
colors: {
  custom: {
    50: '#875e4c',
    500: '#51220c',
    950: '#000000',
  },
}
SCSS
$custom: #51220c;
$custom-light: #875e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#51220c",
  "rgb": {
    "r": 81,
    "g": 34,
    "b": 12
  },
  "hsl": {
    "h": 19.13,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3156,
    "c": 0.0777,
    "h": 43.5
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#51220C
secondary
#2C6E8C
accent
#B6F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #51220C

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

Preview Lab → · Contrast checker → · Palette generator →

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