#310B08#310B08

#310B08 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.6% C 0.063 H 28.1°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#310B08
RGBrgb(49, 11, 8)
HSLhsl(4, 72%, 11%)
HSVhsv(4, 84%, 19%)
CMYKcmyk(0%, 77.6%, 83.7%, 80.8%)
CIE-LABlab(8.22, 19.05, 9.45)
CIE-LCHlch(8.22, 21.27, 26.38°)
OKLaboklab(21.61% 0.0552 0.0295)
OKLCHoklch(21.61% 0.063 28.1)
XYZxyz(1.4303, 0.9100, 0.3300)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B08 #082E31
analogous
#310819 #310B08 #311F08
triadic
#310B08 #08310B #0B0831
tetradic
#310B08 #193108 #082E31 #1F0831
square
#310B08 #193108 #082E31 #1F0831
split-complementary
#310B08 #08311F #081931
monochromatic
#1A0604 #1A0604 #310B08 #661711 #9A2319

Accessibility & contrast

On white

17.77
#310B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310B08
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B08#FFFFFF#000000##FFFFFF
##310B081.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151307
Deuteranopia (green-blind)
#1F1B07
Tritanopia (blue-blind)
#37040B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b08;
/* rgb */ color: rgb(49, 11, 8);
/* oklch */ color: oklch(21.6% 0.063 28.1);
Tailwind
colors: {
  custom: {
    50: '#6c4c4a',
    500: '#310b08',
    950: '#000000',
  },
}
SCSS
$custom: #310b08;
$custom-light: #6c4c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310b08",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 8
  },
  "hsl": {
    "h": 4.39,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21608,
    "c": 0.06255,
    "h": 28.1
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#310B08
secondary
#256A70
accent
#E1EF39
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310B08

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

Preview Lab → · Contrast checker → · Palette generator →

#310B08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva