#310B01#310B01

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

Color values

HEX#310B01
RGBrgb(49, 11, 1)
HSLhsl(13, 96%, 10%)
HSVhsv(13, 98%, 19%)
CMYKcmyk(0%, 77.6%, 98%, 80.8%)
CIE-LABlab(8.08, 18.53, 12.10)
CIE-LCHlch(8.08, 22.13, 33.15°)
OKLaboklab(21.46% 0.0509 0.0413)
OKLCHoklch(21.46% 0.066 39.1)
XYZxyz(1.3919, 0.8947, 0.1281)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B01 #012731
analogous
#31010F #310B01 #312301
triadic
#310B01 #01310B #0B0131
tetradic
#310B01 #0F3101 #012731 #230131
square
#310B01 #0F3101 #012731 #230131
split-complementary
#310B01 #013123 #010F31
monochromatic
#1E0701 #1E0701 #310B01 #6D1802 #A92603

Accessibility & contrast

On white

17.81
#310B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B01
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B01#FFFFFF#000000##FFFFFF
##310B011.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161200
Deuteranopia (green-blind)
#201B00
Tritanopia (blue-blind)
#370208
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b01;
/* rgb */ color: rgb(49, 11, 1);
/* oklch */ color: oklch(21.5% 0.066 39.1);
Tailwind
colors: {
  custom: {
    50: '#6c4c47',
    500: '#310b01',
    950: '#000000',
  },
}
SCSS
$custom: #310b01;
$custom-light: #6c4c47;
$custom-dark: #000000;
JSON
{
  "hex": "#310b01",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 1
  },
  "hsl": {
    "h": 12.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21461,
    "c": 0.06554,
    "h": 39.1
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#310B01
secondary
#176377
accent
#D2FF29
background
#F6F4F3
surface
#ECE7E5
border
#C7C3C1
text
#070100
muted
#7A7777

Preview Lab

Preview with #310B01

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

Preview Lab → · Contrast checker → · Palette generator →

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