#51240E#51240E

#51240E is a dark, moderate orange. Relative luminance 0.030; OKLCH L 31.9% C 0.075 H 44.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#51240E
RGBrgb(81, 36, 14)
HSLhsl(20, 71%, 19%)
HSVhsv(20, 83%, 32%)
CMYKcmyk(0%, 55.6%, 82.7%, 68.2%)
CIE-LABlab(20.22, 19.31, 23.60)
CIE-LCHlch(20.22, 30.49, 50.72°)
OKLaboklab(31.94% 0.0534 0.0527)
OKLCHoklch(31.94% 0.075 44.6)
XYZxyz(4.1039, 3.0433, 0.7867)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51240E #0E3B51
analogous
#510E1A #51240E #51450E
triadic
#51240E #0E5124 #240E51
tetradic
#51240E #1A510E #0E3B51 #450E51
square
#51240E #1A510E #0E3B51 #450E51
split-complementary
#51240E #0E5145 #0E1A51
monochromatic
#1A0C05 #1D0D05 #51240E #853B17 #B95220

Accessibility & contrast

On white

13.05
#51240E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#51240E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51240E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51240E#FFFFFF#000000##FFFFFF
##51240E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0B
Deuteranopia (green-blind)
#3B350D
Tritanopia (blue-blind)
#5A1A1F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #51240e;
/* rgb */ color: rgb(81, 36, 14);
/* oklch */ color: oklch(31.9% 0.075 44.6);
Tailwind
colors: {
  custom: {
    50: '#87604e',
    500: '#51240e',
    950: '#000000',
  },
}
SCSS
$custom: #51240e;
$custom-light: #87604e;
$custom-dark: #000000;
JSON
{
  "hex": "#51240e",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 14
  },
  "hsl": {
    "h": 19.701,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31944,
    "c": 0.07503,
    "h": 44.6
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#51240E
secondary
#2F6D8C
accent
#B3ED3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #51240E

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

Preview Lab → · Contrast checker → · Palette generator →

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