#310908#310908

#310908 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.3% C 0.065 H 25.9°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#310908
RGBrgb(49, 9, 8)
HSLhsl(1, 72%, 11%)
HSVhsv(1, 84%, 19%)
CMYKcmyk(0%, 81.6%, 83.7%, 80.8%)
CIE-LABlab(7.82, 20.12, 8.87)
CIE-LCHlch(7.82, 21.99, 23.80°)
OKLaboklab(21.31% 0.0585 0.0285)
OKLCHoklch(21.31% 0.065 25.9)
XYZxyz(1.4083, 0.8661, 0.3227)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310908 #083031
analogous
#31081B #310908 #311D08
triadic
#310908 #083109 #090831
tetradic
#310908 #1B3108 #083031 #1D0831
square
#310908 #1B3108 #083031 #1D0831
split-complementary
#310908 #08311D #081B31
monochromatic
#1A0504 #1A0504 #310908 #661311 #9A1C19

Accessibility & contrast

On white

17.90
#310908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310908
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310908#FFFFFF#000000##FFFFFF
##3109081.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141208
Deuteranopia (green-blind)
#1E1A07
Tritanopia (blue-blind)
#370209
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310908;
/* rgb */ color: rgb(49, 9, 8);
/* oklch */ color: oklch(21.3% 0.065 25.9);
Tailwind
colors: {
  custom: {
    50: '#6c4b4a',
    500: '#310908',
    950: '#000000',
  },
}
SCSS
$custom: #310908;
$custom-light: #6c4b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310908",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 8
  },
  "hsl": {
    "h": 1.463,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2131,
    "c": 0.06509,
    "h": 25.9
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#310908
secondary
#256E70
accent
#EAEF39
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310908

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

Preview Lab → · Contrast checker → · Palette generator →

#310908 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva