#51200C#51200C

#51200C is a dark, moderate orange. Relative luminance 0.028; OKLCH L 31.2% C 0.080 H 41.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#51200C
RGBrgb(81, 32, 12)
HSLhsl(17, 74%, 18%)
HSVhsv(17, 85%, 32%)
CMYKcmyk(0%, 60.5%, 85.2%, 68.2%)
CIE-LABlab(19.26, 21.58, 23.48)
CIE-LCHlch(19.26, 31.89, 47.41°)
OKLaboklab(31.21% 0.06 0.0525)
OKLCHoklch(31.21% 0.08 41.2)
XYZxyz(3.9766, 2.8094, 0.6806)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51200C #0C3D51
analogous
#510C1A #51200C #51420C
triadic
#51200C #0C5120 #200C51
tetradic
#51200C #1A510C #0C3D51 #420C51
square
#51200C #1A510C #0C3D51 #420C51
split-complementary
#51200C #0C5142 #0C1A51
monochromatic
#1B0B04 #1C0B04 #51200C #863514 #BC4A1C

Accessibility & contrast

On white

13.45
#51200C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#51200C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51200C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51200C#FFFFFF#000000##FFFFFF
##51200C1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2809
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#5A151C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #51200c;
/* rgb */ color: rgb(81, 32, 12);
/* oklch */ color: oklch(31.2% 0.080 41.2);
Tailwind
colors: {
  custom: {
    50: '#875d4c',
    500: '#51200c',
    950: '#000000',
  },
}
SCSS
$custom: #51200c;
$custom-light: #875d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#51200c",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 12
  },
  "hsl": {
    "h": 17.391,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31211,
    "c": 0.07967,
    "h": 41.2
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#51200C
secondary
#2C718C
accent
#BBF137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #51200C

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

Preview Lab → · Contrast checker → · Palette generator →

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