#31080B#31080B

#31080B is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.2% C 0.066 H 20.7°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#31080B
RGBrgb(49, 8, 11)
HSLhsl(356, 72%, 11%)
HSVhsv(356, 84%, 19%)
CMYKcmyk(0%, 83.7%, 77.6%, 80.8%)
CIE-LABlab(7.69, 20.87, 7.44)
CIE-LCHlch(7.69, 22.16, 19.62°)
OKLaboklab(21.23% 0.0618 0.0234)
OKLCHoklch(21.23% 0.066 20.7)
XYZxyz(1.4140, 0.8510, 0.4063)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31080B #08312E
analogous
#31081F #31080B #311908
triadic
#31080B #0B3108 #080B31
tetradic
#31080B #1F3108 #08312E #190831
square
#31080B #1F3108 #08312E #190831
split-complementary
#31080B #083119 #081F31
monochromatic
#1A0406 #1A0406 #31080B #661117 #9A1923

Accessibility & contrast

On white

17.95
#31080B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#31080B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31080B
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31080B#FFFFFF#000000##FFFFFF
##31080B1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13110B
Deuteranopia (green-blind)
#1D1A0A
Tritanopia (blue-blind)
#370109
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #31080b;
/* rgb */ color: rgb(49, 8, 11);
/* oklch */ color: oklch(21.2% 0.066 20.7);
Tailwind
colors: {
  custom: {
    50: '#6c4a4b',
    500: '#31080b',
    950: '#000000',
  },
}
SCSS
$custom: #31080b;
$custom-light: #6c4a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#31080b",
  "rgb": {
    "r": 49,
    "g": 8,
    "b": 11
  },
  "hsl": {
    "h": 355.61,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21226,
    "c": 0.06605,
    "h": 20.7
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#31080B
secondary
#25706A
accent
#EFE139
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31080B

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

Preview Lab → · Contrast checker → · Palette generator →

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