#310A01#310A01

#310A01 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.3% C 0.067 H 38.0°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#310A01
RGBrgb(49, 10, 1)
HSLhsl(11, 96%, 10%)
HSVhsv(11, 98%, 19%)
CMYKcmyk(0%, 79.6%, 98%, 80.8%)
CIE-LABlab(7.88, 19.07, 11.81)
CIE-LCHlch(7.88, 22.43, 31.77°)
OKLaboklab(21.31% 0.0525 0.041)
OKLCHoklch(21.31% 0.067 38)
XYZxyz(1.3808, 0.8725, 0.1244)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A01 #012831
analogous
#310110 #310A01 #312201
triadic
#310A01 #01310A #0A0131
tetradic
#310A01 #103101 #012831 #220131
square
#310A01 #103101 #012831 #220131
split-complementary
#310A01 #013122 #011031
monochromatic
#1E0601 #1E0601 #310A01 #6D1602 #A92203

Accessibility & contrast

On white

17.88
#310A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A01
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A01#FFFFFF#000000##FFFFFF
##310A011.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161200
Deuteranopia (green-blind)
#1F1B00
Tritanopia (blue-blind)
#370208
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310a01;
/* rgb */ color: rgb(49, 10, 1);
/* oklch */ color: oklch(21.3% 0.067 38.0);
Tailwind
colors: {
  custom: {
    50: '#6c4b47',
    500: '#310a01',
    950: '#000000',
  },
}
SCSS
$custom: #310a01;
$custom-light: #6c4b47;
$custom-dark: #000000;
JSON
{
  "hex": "#310a01",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 1
  },
  "hsl": {
    "h": 11.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21309,
    "c": 0.06661,
    "h": 38
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#310A01
secondary
#176577
accent
#D7FF29
background
#F6F4F3
surface
#ECE7E5
border
#C7C3C1
text
#070100
muted
#7A7777

Preview Lab

Preview with #310A01

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

Preview Lab → · Contrast checker → · Palette generator →

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