#310801#310801

#310801 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.0% C 0.069 H 35.8°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#310801
RGBrgb(49, 8, 1)
HSLhsl(9, 96%, 10%)
HSVhsv(9, 98%, 19%)
CMYKcmyk(0%, 83.7%, 98%, 80.8%)
CIE-LABlab(7.49, 20.12, 11.23)
CIE-LCHlch(7.49, 23.04, 29.18°)
OKLaboklab(21.01% 0.0559 0.0403)
OKLCHoklch(21.01% 0.069 35.8)
XYZxyz(1.3591, 0.8290, 0.1172)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310801 #012A31
analogous
#310112 #310801 #312001
triadic
#310801 #013108 #080131
tetradic
#310801 #123101 #012A31 #200131
square
#310801 #123101 #012A31 #200131
split-complementary
#310801 #013120 #011231
monochromatic
#1E0501 #1E0501 #310801 #6D1202 #A91C03

Accessibility & contrast

On white

18.01
#310801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310801
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310801#FFFFFF#000000##FFFFFF
##3108011.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141100
Deuteranopia (green-blind)
#1E1A00
Tritanopia (blue-blind)
#370006
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310801;
/* rgb */ color: rgb(49, 8, 1);
/* oklch */ color: oklch(21.0% 0.069 35.8);
Tailwind
colors: {
  custom: {
    50: '#6d4a47',
    500: '#310801',
    950: '#000000',
  },
}
SCSS
$custom: #310801;
$custom-light: #6d4a47;
$custom-dark: #000000;
JSON
{
  "hex": "#310801",
  "rgb": {
    "r": 49,
    "g": 8,
    "b": 1
  },
  "hsl": {
    "h": 8.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21007,
    "c": 0.06884,
    "h": 35.8
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#310801
secondary
#176977
accent
#E0FF29
background
#F6F4F3
surface
#ECE7E5
border
#C7C3C1
text
#070100
muted
#7A7777

Preview Lab

Preview with #310801

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

Preview Lab → · Contrast checker → · Palette generator →

#310801 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva