#310B06#310B06

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

Color values

HEX#310B06
RGBrgb(49, 11, 6)
HSLhsl(7, 78%, 11%)
HSVhsv(7, 88%, 19%)
CMYKcmyk(0%, 77.6%, 87.8%, 80.8%)
CIE-LABlab(8.18, 18.90, 10.21)
CIE-LCHlch(8.18, 21.48, 28.37°)
OKLaboklab(21.57% 0.0541 0.0326)
OKLCHoklch(21.57% 0.063 31.1)
XYZxyz(1.4193, 0.9057, 0.2723)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B06 #062C31
analogous
#310616 #310B06 #312006
triadic
#310B06 #06310B #0B0631
tetradic
#310B06 #163106 #062C31 #200631
square
#310B06 #163106 #062C31 #200631
split-complementary
#310B06 #063120 #061631
monochromatic
#1B0603 #1B0603 #310B06 #68170D #9E2313

Accessibility & contrast

On white

17.78
#310B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B06
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B06#FFFFFF#000000##FFFFFF
##310B061.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310b06;
/* rgb */ color: rgb(49, 11, 6);
/* oklch */ color: oklch(21.6% 0.063 31.1);
Tailwind
colors: {
  custom: {
    50: '#6c4c49',
    500: '#310b06',
    950: '#000000',
  },
}
SCSS
$custom: #310b06;
$custom-light: #6c4c49;
$custom-dark: #000000;
JSON
{
  "hex": "#310b06",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 6
  },
  "hsl": {
    "h": 6.977,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21566,
    "c": 0.06314,
    "h": 31.1
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#310B06
secondary
#216872
accent
#DEF533
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310B06

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

Preview Lab → · Contrast checker → · Palette generator →

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