#310B11#310B11

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

Color values

HEX#310B11
RGBrgb(49, 11, 17)
HSLhsl(351, 63%, 12%)
HSVhsv(351, 78%, 19%)
CMYKcmyk(0%, 77.6%, 65.3%, 80.8%)
CIE-LABlab(8.42, 19.81, 5.48)
CIE-LCHlch(8.42, 20.55, 15.46°)
OKLaboklab(21.82% 0.0597 0.0154)
OKLCHoklch(21.82% 0.062 14.5)
XYZxyz(1.4876, 0.9330, 0.6320)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B11 #0B312B
analogous
#310B24 #310B11 #31180B
triadic
#310B11 #11310B #0B1131
tetradic
#310B11 #24310B #0B312B #180B31
square
#310B11 #24310B #0B312B #180B31
split-complementary
#310B11 #0B3118 #0B2431
monochromatic
#190609 #190609 #310B11 #631622 #952134

Accessibility & contrast

On white

17.70
#310B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310B11
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B11#FFFFFF#000000##FFFFFF
##310B111.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141311
Deuteranopia (green-blind)
#1E1B10
Tritanopia (blue-blind)
#36050D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b11;
/* rgb */ color: rgb(49, 11, 17);
/* oklch */ color: oklch(21.8% 0.062 14.5);
Tailwind
colors: {
  custom: {
    50: '#6c4c4f',
    500: '#310b11',
    950: '#000000',
  },
}
SCSS
$custom: #310b11;
$custom-light: #6c4c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#310b11",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 17
  },
  "hsl": {
    "h": 350.526,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21824,
    "c": 0.06161,
    "h": 14.5
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#310B11
secondary
#2A6E63
accent
#E6CC41
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310B11

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

Preview Lab → · Contrast checker → · Palette generator →

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