#31160F#31160F

#31160F is a very dark, muted red. Relative luminance 0.013; OKLCH L 23.8% C 0.046 H 35.5°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#31160F
RGBrgb(49, 22, 15)
HSLhsl(12, 53%, 13%)
HSVhsv(12, 69%, 19%)
CMYKcmyk(0%, 55.1%, 69.4%, 80.8%)
CIE-LABlab(11.00, 12.81, 10.26)
CIE-LCHlch(11.00, 16.41, 38.69°)
OKLaboklab(23.76% 0.0374 0.0267)
OKLCHoklch(23.76% 0.046 35.5)
XYZxyz(1.6399, 1.2614, 0.6090)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31160F #0F2A31
analogous
#310F19 #31160F #31270F
triadic
#31160F #0F3116 #160F31
tetradic
#31160F #19310F #0F2A31 #270F31
square
#31160F #19310F #0F2A31 #270F31
split-complementary
#31160F #0F3127 #0F1931
monochromatic
#170B07 #170B07 #31160F #602B1D #8F402C

Accessibility & contrast

On white

16.77
#31160F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#31160F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31160F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31160F#FFFFFF#000000##FFFFFF
##31160F1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1A0E
Deuteranopia (green-blind)
#23200F
Tritanopia (blue-blind)
#361114
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #31160f;
/* rgb */ color: rgb(49, 22, 15);
/* oklch */ color: oklch(23.8% 0.046 35.5);
Tailwind
colors: {
  custom: {
    50: '#6b534e',
    500: '#31160f',
    950: '#000000',
  },
}
SCSS
$custom: #31160f;
$custom-light: #6b534e;
$custom-dark: #000000;
JSON
{
  "hex": "#31160f",
  "rgb": {
    "r": 49,
    "g": 22,
    "b": 15
  },
  "hsl": {
    "h": 12.353,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23762,
    "c": 0.0459,
    "h": 35.5
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#31160F
secondary
#315F6B
accent
#BFDD4B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #31160F

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

Preview Lab → · Contrast checker → · Palette generator →

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