#51250E#51250E

#51250E is a dark, moderate orange. Relative luminance 0.031; OKLCH L 32.1% C 0.074 H 45.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#51250E
RGBrgb(81, 37, 14)
HSLhsl(21, 71%, 19%)
HSVhsv(21, 83%, 32%)
CMYKcmyk(0%, 54.3%, 82.7%, 68.2%)
CIE-LABlab(20.46, 18.70, 23.87)
CIE-LCHlch(20.46, 30.33, 51.93°)
OKLaboklab(32.13% 0.0516 0.0532)
OKLCHoklch(32.13% 0.074 45.9)
XYZxyz(4.1346, 3.1047, 0.7969)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51250E #0E3A51
analogous
#510E18 #51250E #51460E
triadic
#51250E #0E5125 #250E51
tetradic
#51250E #18510E #0E3A51 #460E51
square
#51250E #18510E #0E3A51 #460E51
split-complementary
#51250E #0E5146 #0E1851
monochromatic
#1A0C05 #1D0D05 #51250E #853D17 #B95520

Accessibility & contrast

On white

12.96
#51250E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#51250E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51250E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51250E#FFFFFF#000000##FFFFFF
##51250E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51250e;
/* rgb */ color: rgb(81, 37, 14);
/* oklch */ color: oklch(32.1% 0.074 45.9);
Tailwind
colors: {
  custom: {
    50: '#87604e',
    500: '#51250e',
    950: '#000000',
  },
}
SCSS
$custom: #51250e;
$custom-light: #87604e;
$custom-dark: #000000;
JSON
{
  "hex": "#51250e",
  "rgb": {
    "r": 81,
    "g": 37,
    "b": 14
  },
  "hsl": {
    "h": 20.597,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.32129,
    "c": 0.07411,
    "h": 45.9
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#51250E
secondary
#2F6C8C
accent
#B0ED3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #51250E

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

Preview Lab → · Contrast checker → · Palette generator →

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