#31010B#31010B

#31010B is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.1% C 0.078 H 14.1°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#31010B
RGBrgb(49, 1, 11)
HSLhsl(348, 96%, 10%)
HSVhsv(348, 98%, 19%)
CMYKcmyk(0%, 98%, 77.6%, 80.8%)
CIE-LABlab(6.31, 24.54, 5.44)
CIE-LCHlch(6.31, 25.14, 12.49°)
OKLaboklab(20.11% 0.0754 0.019)
OKLCHoklch(20.11% 0.078 14.1)
XYZxyz(1.3380, 0.6991, 0.3810)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31010B #013127
analogous
#310123 #31010B #310F01
triadic
#31010B #0B3101 #010B31
tetradic
#31010B #233101 #013127 #0F0131
square
#31010B #233101 #013127 #0F0131
split-complementary
#31010B #01310F #012331
monochromatic
#1E0107 #1E0107 #31010B #6D0218 #A90326

Accessibility & contrast

On white

18.42
#31010B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#31010B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31010B
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31010B#FFFFFF#000000##FFFFFF
##31010B1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0D0B
Deuteranopia (green-blind)
#1B180A
Tritanopia (blue-blind)
#370005
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #31010b;
/* rgb */ color: rgb(49, 1, 11);
/* oklch */ color: oklch(20.1% 0.078 14.1);
Tailwind
colors: {
  custom: {
    50: '#6d474c',
    500: '#31010b',
    950: '#000000',
  },
}
SCSS
$custom: #31010b;
$custom-light: #6d474c;
$custom-dark: #000000;
JSON
{
  "hex": "#31010b",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 11
  },
  "hsl": {
    "h": 347.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20114,
    "c": 0.07774,
    "h": 14.1
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#31010B
secondary
#177763
accent
#FFD229
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #31010B

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

Preview Lab → · Contrast checker → · Palette generator →

#31010B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva