#51220E#51220E

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

Color values

HEX#51220E
RGBrgb(81, 34, 14)
HSLhsl(18, 71%, 19%)
HSVhsv(18, 83%, 32%)
CMYKcmyk(0%, 58%, 82.7%, 68.2%)
CIE-LABlab(19.74, 20.50, 23.07)
CIE-LCHlch(19.74, 30.86, 48.37°)
OKLaboklab(31.58% 0.0571 0.0516)
OKLCHoklch(31.58% 0.077 42.1)
XYZxyz(4.0450, 2.9256, 0.7671)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51220E #0E3D51
analogous
#510E1B #51220E #51430E
triadic
#51220E #0E5122 #220E51
tetradic
#51220E #1B510E #0E3D51 #430E51
square
#51220E #1B510E #0E3D51 #430E51
split-complementary
#51220E #0E5143 #0E1B51
monochromatic
#1A0B05 #1D0C05 #51220E #853817 #B94E20

Accessibility & contrast

On white

13.25
#51220E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#51220E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51220E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51220E#FFFFFF#000000##FFFFFF
##51220E1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290C
Deuteranopia (green-blind)
#3A340D
Tritanopia (blue-blind)
#5A181E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #51220e;
/* rgb */ color: rgb(81, 34, 14);
/* oklch */ color: oklch(31.6% 0.077 42.1);
Tailwind
colors: {
  custom: {
    50: '#875e4e',
    500: '#51220e',
    950: '#000000',
  },
}
SCSS
$custom: #51220e;
$custom-light: #875e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#51220e",
  "rgb": {
    "r": 81,
    "g": 34,
    "b": 14
  },
  "hsl": {
    "h": 17.91,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31583,
    "c": 0.07695,
    "h": 42.1
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#51220E
secondary
#2F708C
accent
#B8ED3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #51220E

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

Preview Lab → · Contrast checker → · Palette generator →

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