#51250C#51250C

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

Color values

HEX#51250C
RGBrgb(81, 37, 12)
HSLhsl(22, 74%, 18%)
HSVhsv(22, 85%, 32%)
CMYKcmyk(0%, 54.3%, 85.2%, 68.2%)
CIE-LABlab(20.44, 18.60, 24.81)
CIE-LCHlch(20.44, 31.01, 53.14°)
OKLaboklab(32.11% 0.0509 0.055)
OKLCHoklch(32.11% 0.075 47.2)
XYZxyz(4.1217, 3.0995, 0.7290)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51250C #0C3851
analogous
#510C15 #51250C #51470C
triadic
#51250C #0C5125 #250C51
tetradic
#51250C #15510C #0C3851 #470C51
square
#51250C #15510C #0C3851 #470C51
split-complementary
#51250C #0C5147 #0C1551
monochromatic
#1B0C04 #1C0D04 #51250C #863D14 #BC561C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51250C#FFFFFF#000000##FFFFFF
##51250C1.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)
#312B09
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#5A1C20
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #51250c;
/* rgb */ color: rgb(81, 37, 12);
/* oklch */ color: oklch(32.1% 0.075 47.2);
Tailwind
colors: {
  custom: {
    50: '#87604d',
    500: '#51250c',
    950: '#000000',
  },
}
SCSS
$custom: #51250c;
$custom-light: #87604d;
$custom-dark: #000000;
JSON
{
  "hex": "#51250c",
  "rgb": {
    "r": 81,
    "g": 37,
    "b": 12
  },
  "hsl": {
    "h": 21.739,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.32107,
    "c": 0.07494,
    "h": 47.2
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#51250C
secondary
#2C6A8C
accent
#ADF137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #51250C

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

Preview Lab → · Contrast checker → · Palette generator →

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