#310B09#310B09

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

Color values

HEX#310B09
RGBrgb(49, 11, 9)
HSLhsl(3, 69%, 11%)
HSVhsv(3, 82%, 19%)
CMYKcmyk(0%, 77.6%, 81.6%, 80.8%)
CIE-LABlab(8.24, 19.13, 9.07)
CIE-LCHlch(8.24, 21.17, 25.37°)
OKLaboklab(21.63% 0.0557 0.028)
OKLCHoklch(21.63% 0.062 26.7)
XYZxyz(1.4358, 0.9122, 0.3589)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B09 #092F31
analogous
#31091B #310B09 #311F09
triadic
#310B09 #09310B #0B0931
tetradic
#310B09 #1B3109 #092F31 #1F0931
square
#310B09 #1B3109 #092F31 #1F0931
split-complementary
#310B09 #09311F #091B31
monochromatic
#1A0605 #1A0605 #310B09 #651712 #98221C

Accessibility & contrast

On white

17.76
#310B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B09
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B09#FFFFFF#000000##FFFFFF
##310B091.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310b09;
/* rgb */ color: rgb(49, 11, 9);
/* oklch */ color: oklch(21.6% 0.062 26.7);
Tailwind
colors: {
  custom: {
    50: '#6c4c4b',
    500: '#310b09',
    950: '#000000',
  },
}
SCSS
$custom: #310b09;
$custom-light: #6c4c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#310b09",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 9
  },
  "hsl": {
    "h": 3,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21628,
    "c": 0.06231,
    "h": 26.7
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#310B09
secondary
#276B6F
accent
#E3EC3C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310B09

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

Preview Lab → · Contrast checker → · Palette generator →

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