#51250F#51250F

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

Color values

HEX#51250F
RGBrgb(81, 37, 15)
HSLhsl(20, 69%, 19%)
HSVhsv(20, 81%, 32%)
CMYKcmyk(0%, 54.3%, 81.5%, 68.2%)
CIE-LABlab(20.47, 18.75, 23.37)
CIE-LCHlch(20.47, 29.96, 51.26°)
OKLaboklab(32.14% 0.0519 0.0523)
OKLCHoklch(32.14% 0.074 45.2)
XYZxyz(4.1415, 3.1075, 0.8335)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51250F #0F3B51
analogous
#510F1A #51250F #51460F
triadic
#51250F #0F5125 #250F51
tetradic
#51250F #1A510F #0F3B51 #460F51
square
#51250F #1A510F #0F3B51 #460F51
split-complementary
#51250F #0F5146 #0F1A51
monochromatic
#1A0C05 #1D0D05 #51250F #853D19 #B85422

Accessibility & contrast

On white

12.95
#51250F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51250F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51250F#FFFFFF#000000##FFFFFF
##51250F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#591C20
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #51250f;
/* rgb */ color: rgb(81, 37, 15);
/* oklch */ color: oklch(32.1% 0.074 45.2);
Tailwind
colors: {
  custom: {
    50: '#86604e',
    500: '#51250f',
    950: '#000000',
  },
}
SCSS
$custom: #51250f;
$custom-light: #86604e;
$custom-dark: #000000;
JSON
{
  "hex": "#51250f",
  "rgb": {
    "r": 81,
    "g": 37,
    "b": 15
  },
  "hsl": {
    "h": 20,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3214,
    "c": 0.07368,
    "h": 45.2
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#51250F
secondary
#316D8B
accent
#B1EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #51250F

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

Preview Lab → · Contrast checker → · Palette generator →

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