#5A210E#5A210E

#5A210E is a dark, moderate orange. Relative luminance 0.033; OKLCH L 33.0% C 0.089 H 38.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#5A210E
RGBrgb(90, 33, 14)
HSLhsl(15, 73%, 20%)
HSVhsv(15, 84%, 35%)
CMYKcmyk(0%, 63.3%, 84.4%, 64.7%)
CIE-LABlab(21.18, 25.05, 25.13)
CIE-LCHlch(21.18, 35.49, 45.09°)
OKLaboklab(33% 0.0701 0.0552)
OKLCHoklch(33% 0.089 38.3)
XYZxyz(4.8401, 3.2937, 0.7963)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A210E #0E475A
analogous
#5A0E21 #5A210E #5A470E
triadic
#5A210E #0E5A21 #210E5A
tetradic
#5A210E #215A0E #0E475A #470E5A
square
#5A210E #215A0E #0E475A #470E5A
split-complementary
#5A210E #0E5A47 #0E215A
monochromatic
#1A0A04 #250E06 #5A210E #8F3416 #C4481E

Accessibility & contrast

On white

12.66
#5A210E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5A210E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A210E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A210E#FFFFFF#000000##FFFFFF
##5A210E1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0B
Deuteranopia (green-blind)
#3F380C
Tritanopia (blue-blind)
#64141D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a210e;
/* rgb */ color: rgb(90, 33, 14);
/* oklch */ color: oklch(33.0% 0.089 38.3);
Tailwind
colors: {
  custom: {
    50: '#8e5e4e',
    500: '#5a210e',
    950: '#000000',
  },
}
SCSS
$custom: #5a210e;
$custom-light: #8e5e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a210e",
  "rgb": {
    "r": 90,
    "g": 33,
    "b": 14
  },
  "hsl": {
    "h": 15,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.08921,
    "h": 38.3
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#5A210E
secondary
#307B94
accent
#C2F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0401
muted
#7E7977

Preview Lab

Preview with #5A210E

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

Preview Lab → · Contrast checker → · Palette generator →

#5A210E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva