#51270F#51270F

#51270F is a dark, moderate orange. Relative luminance 0.032; OKLCH L 32.5% C 0.072 H 47.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#51270F
RGBrgb(81, 39, 15)
HSLhsl(22, 69%, 19%)
HSVhsv(22, 81%, 32%)
CMYKcmyk(0%, 51.9%, 81.5%, 68.2%)
CIE-LABlab(20.96, 17.52, 23.91)
CIE-LCHlch(20.96, 29.65, 53.77°)
OKLaboklab(32.52% 0.0482 0.0534)
OKLCHoklch(32.52% 0.072 47.9)
XYZxyz(4.2055, 3.2353, 0.8549)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51270F #0F3951
analogous
#510F18 #51270F #51480F
triadic
#51270F #0F5127 #270F51
tetradic
#51270F #18510F #0F3951 #480F51
square
#51270F #18510F #0F3951 #480F51
split-complementary
#51270F #0F5148 #0F1851
monochromatic
#1A0C05 #1D0E05 #51270F #854019 #B85922

Accessibility & contrast

On white

12.75
#51270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#51270F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51270F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51270F#FFFFFF#000000##FFFFFF
##51270F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0C
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#591E22
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #51270f;
/* rgb */ color: rgb(81, 39, 15);
/* oklch */ color: oklch(32.5% 0.072 47.9);
Tailwind
colors: {
  custom: {
    50: '#86624e',
    500: '#51270f',
    950: '#000000',
  },
}
SCSS
$custom: #51270f;
$custom-light: #86624e;
$custom-dark: #000000;
JSON
{
  "hex": "#51270f",
  "rgb": {
    "r": 81,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 21.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32518,
    "c": 0.07193,
    "h": 47.9
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#51270F
secondary
#316A8B
accent
#ACEC3C
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #51270F

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

Preview Lab → · Contrast checker → · Palette generator →

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