#31200C#31200C

#31200C is a dark, muted orange. Relative luminance 0.017; OKLCH L 26.0% C 0.041 H 68.6°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#31200C
RGBrgb(49, 32, 12)
HSLhsl(32, 61%, 12%)
HSVhsv(32, 76%, 19%)
CMYKcmyk(0%, 34.7%, 75.5%, 80.8%)
CIE-LABlab(13.90, 5.60, 15.66)
CIE-LCHlch(13.90, 16.63, 70.31°)
OKLaboklab(25.98% 0.0151 0.0385)
OKLCHoklch(25.98% 0.041 68.6)
XYZxyz(1.8496, 1.7127, 0.5809)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31200C #0C1D31
analogous
#310D0C #31200C #30310C
triadic
#31200C #0C3120 #200C31
tetradic
#31200C #0C310D #0C1D31 #310C30
square
#31200C #0C310D #0C1D31 #310C30
split-complementary
#31200C #0C3031 #0D0C31
monochromatic
#191006 #191006 #31200C #624018 #936024

Accessibility & contrast

On white

15.64
#31200C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#31200C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31200C
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31200C#FFFFFF#000000##FFFFFF
##31200C1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26210A
Deuteranopia (green-blind)
#2A250C
Tritanopia (blue-blind)
#361C1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #31200c;
/* rgb */ color: rgb(49, 32, 12);
/* oklch */ color: oklch(26.0% 0.041 68.6);
Tailwind
colors: {
  custom: {
    50: '#6b5b4c',
    500: '#31200c',
    950: '#000000',
  },
}
SCSS
$custom: #31200c;
$custom-light: #6b5b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#31200c",
  "rgb": {
    "r": 49,
    "g": 32,
    "b": 12
  },
  "hsl": {
    "h": 32.432,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.25983,
    "c": 0.04135,
    "h": 68.6
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#31200C
secondary
#2C4A6D
accent
#8DE444
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #31200C

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

Preview Lab → · Contrast checker → · Palette generator →

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