#51270C#51270C

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

Color values

HEX#51270C
RGBrgb(81, 39, 12)
HSLhsl(23, 74%, 18%)
HSVhsv(23, 85%, 32%)
CMYKcmyk(0%, 51.9%, 85.2%, 68.2%)
CIE-LABlab(20.93, 17.38, 25.36)
CIE-LCHlch(20.93, 30.74, 55.58°)
OKLaboklab(32.49% 0.0472 0.0561)
OKLCHoklch(32.49% 0.073 49.9)
XYZxyz(4.1856, 3.2274, 0.7503)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51270C #0C3651
analogous
#510C13 #51270C #51490C
triadic
#51270C #0C5127 #270C51
tetradic
#51270C #13510C #0C3651 #490C51
square
#51270C #13510C #0C3651 #490C51
split-complementary
#51270C #0C5149 #0C1351
monochromatic
#1B0D04 #1C0D04 #51270C #864114 #BC5A1C

Accessibility & contrast

On white

12.76
#51270C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51270C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51270C#FFFFFF#000000##FFFFFF
##51270C1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D08
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#5A1E21
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #51270c;
/* rgb */ color: rgb(81, 39, 12);
/* oklch */ color: oklch(32.5% 0.073 49.9);
Tailwind
colors: {
  custom: {
    50: '#87624d',
    500: '#51270c',
    950: '#000000',
  },
}
SCSS
$custom: #51270c;
$custom-light: #87624d;
$custom-dark: #000000;
JSON
{
  "hex": "#51270c",
  "rgb": {
    "r": 81,
    "g": 39,
    "b": 12
  },
  "hsl": {
    "h": 23.478,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.32485,
    "c": 0.07329,
    "h": 49.9
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#51270C
secondary
#2C678C
accent
#A8F137
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #51270C

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

Preview Lab → · Contrast checker → · Palette generator →

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