#31200B#31200B

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

Color values

HEX#31200B
RGBrgb(49, 32, 11)
HSLhsl(33, 63%, 12%)
HSVhsv(33, 78%, 19%)
CMYKcmyk(0%, 34.7%, 77.6%, 80.8%)
CIE-LABlab(13.89, 5.52, 16.08)
CIE-LCHlch(13.89, 17.00, 71.05°)
OKLaboklab(25.97% 0.0146 0.0397)
OKLCHoklch(25.97% 0.042 69.8)
XYZxyz(1.8437, 1.7103, 0.5496)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31200B #0B1C31
analogous
#310D0B #31200B #2F310B
triadic
#31200B #0B3120 #200B31
tetradic
#31200B #0B310D #0B1C31 #310B2F
square
#31200B #0B310D #0B1C31 #310B2F
split-complementary
#31200B #0B2F31 #0D0B31
monochromatic
#191006 #191006 #31200B #634116 #956121

Accessibility & contrast

On white

15.65
#31200B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31200B
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31200B#FFFFFF#000000##FFFFFF
##31200B1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262109
Deuteranopia (green-blind)
#2A250B
Tritanopia (blue-blind)
#361C1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #31200b;
/* rgb */ color: rgb(49, 32, 11);
/* oklch */ color: oklch(26.0% 0.042 69.8);
Tailwind
colors: {
  custom: {
    50: '#6b5b4c',
    500: '#31200b',
    950: '#000000',
  },
}
SCSS
$custom: #31200b;
$custom-light: #6b5b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#31200b",
  "rgb": {
    "r": 49,
    "g": 32,
    "b": 11
  },
  "hsl": {
    "h": 33.158,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.25968,
    "c": 0.04227,
    "h": 69.8
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#31200B
secondary
#2A486E
accent
#8BE641
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #31200B

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

Preview Lab → · Contrast checker → · Palette generator →

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