#310B07#310B07

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

Color values

HEX#310B07
RGBrgb(49, 11, 7)
HSLhsl(6, 75%, 11%)
HSVhsv(6, 86%, 19%)
CMYKcmyk(0%, 77.6%, 85.7%, 80.8%)
CIE-LABlab(8.20, 18.98, 9.83)
CIE-LCHlch(8.20, 21.37, 27.38°)
OKLaboklab(21.59% 0.0546 0.031)
OKLCHoklch(21.59% 0.063 29.6)
XYZxyz(1.4248, 0.9079, 0.3012)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B07 #072D31
analogous
#310718 #310B07 #312007
triadic
#310B07 #07310B #0B0731
tetradic
#310B07 #183107 #072D31 #200731
square
#310B07 #183107 #072D31 #200731
split-complementary
#310B07 #073120 #071831
monochromatic
#1B0604 #1B0604 #310B07 #67170F #9C2316

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##310B07#FFFFFF#000000##FFFFFF
##310B071.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)
#161306
Deuteranopia (green-blind)
#1F1B06
Tritanopia (blue-blind)
#37030A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b07;
/* rgb */ color: rgb(49, 11, 7);
/* oklch */ color: oklch(21.6% 0.063 29.6);
Tailwind
colors: {
  custom: {
    50: '#6c4c4a',
    500: '#310b07',
    950: '#000000',
  },
}
SCSS
$custom: #310b07;
$custom-light: #6c4c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310b07",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 7
  },
  "hsl": {
    "h": 5.714,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21587,
    "c": 0.06282,
    "h": 29.6
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#310B07
secondary
#236971
accent
#E0F236
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310B07

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

Preview Lab → · Contrast checker → · Palette generator →

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