#310B05#310B05

#310B05 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.5% C 0.064 H 32.6°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#310B05
RGBrgb(49, 11, 5)
HSLhsl(8, 81%, 11%)
HSVhsv(8, 90%, 19%)
CMYKcmyk(0%, 77.6%, 89.8%, 80.8%)
CIE-LABlab(8.16, 18.83, 10.59)
CIE-LCHlch(8.16, 21.60, 29.35°)
OKLaboklab(21.55% 0.0535 0.0342)
OKLCHoklch(21.55% 0.064 32.6)
XYZxyz(1.4138, 0.9035, 0.2435)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B05 #052B31
analogous
#310515 #310B05 #312105
triadic
#310B05 #05310B #0B0531
tetradic
#310B05 #153105 #052B31 #210531
square
#310B05 #153105 #052B31 #210531
split-complementary
#310B05 #053121 #051531
monochromatic
#1C0603 #1C0603 #310B05 #69170B #A02410

Accessibility & contrast

On white

17.79
#310B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B05
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B05#FFFFFF#000000##FFFFFF
##310B051.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161304
Deuteranopia (green-blind)
#1F1B04
Tritanopia (blue-blind)
#37030A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b05;
/* rgb */ color: rgb(49, 11, 5);
/* oklch */ color: oklch(21.5% 0.064 32.6);
Tailwind
colors: {
  custom: {
    50: '#6c4c49',
    500: '#310b05',
    950: '#000000',
  },
}
SCSS
$custom: #310b05;
$custom-light: #6c4c49;
$custom-dark: #000000;
JSON
{
  "hex": "#310b05",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 5
  },
  "hsl": {
    "h": 8.182,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21545,
    "c": 0.06351,
    "h": 32.6
  },
  "luminance": 0.00903
}

Semantic roles & 50–950 ramp

primary
#310B05
secondary
#1F6772
accent
#DDF830
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310B05

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

Preview Lab → · Contrast checker → · Palette generator →

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