#51220F#51220F

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

Color values

HEX#51220F
RGBrgb(81, 34, 15)
HSLhsl(17, 69%, 19%)
HSVhsv(17, 81%, 32%)
CMYKcmyk(0%, 58%, 81.5%, 68.2%)
CIE-LABlab(19.75, 20.55, 22.56)
CIE-LCHlch(19.75, 30.52, 47.67°)
OKLaboklab(31.6% 0.0574 0.0506)
OKLCHoklch(31.6% 0.077 41.4)
XYZxyz(4.0520, 2.9284, 0.8037)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51220F #0F3E51
analogous
#510F1D #51220F #51430F
triadic
#51220F #0F5122 #220F51
tetradic
#51220F #1D510F #0F3E51 #430F51
square
#51220F #1D510F #0F3E51 #430F51
split-complementary
#51220F #0F5143 #0F1D51
monochromatic
#1A0B05 #1D0C05 #51220F #853819 #B84D22

Accessibility & contrast

On white

13.24
#51220F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51220F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51220F#FFFFFF#000000##FFFFFF
##51220F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51220f;
/* rgb */ color: rgb(81, 34, 15);
/* oklch */ color: oklch(31.6% 0.077 41.4);
Tailwind
colors: {
  custom: {
    50: '#875e4e',
    500: '#51220f',
    950: '#000000',
  },
}
SCSS
$custom: #51220f;
$custom-light: #875e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#51220f",
  "rgb": {
    "r": 81,
    "g": 34,
    "b": 15
  },
  "hsl": {
    "h": 17.273,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31595,
    "c": 0.07657,
    "h": 41.4
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#51220F
secondary
#31718B
accent
#B9EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #51220F

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

Preview Lab → · Contrast checker → · Palette generator →

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