#310101#310101

#310101 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.9% C 0.079 H 28.5°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#310101
RGBrgb(49, 1, 1)
HSLhsl(0, 96%, 10%)
HSVhsv(0, 98%, 19%)
CMYKcmyk(0%, 98%, 98%, 80.8%)
CIE-LABlab(6.12, 23.73, 9.23)
CIE-LCHlch(6.12, 25.46, 21.26°)
OKLaboklab(19.87% 0.0692 0.0375)
OKLCHoklch(19.87% 0.079 28.5)
XYZxyz(1.2831, 0.6771, 0.0918)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310101 #013131
analogous
#310119 #310101 #311901
triadic
#310101 #013101 #010131
tetradic
#310101 #193101 #013131 #190131
square
#310101 #193101 #013131 #190131
split-complementary
#310101 #013119 #011931
monochromatic
#1E0101 #1E0101 #310101 #6D0202 #A90303

Accessibility & contrast

On white

18.50
#310101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#310101 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310101
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310101#FFFFFF#000000##FFFFFF
##3101011.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0C01
Deuteranopia (green-blind)
#1C1700
Tritanopia (blue-blind)
#370001
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310101;
/* rgb */ color: rgb(49, 1, 1);
/* oklch */ color: oklch(19.9% 0.079 28.5);
Tailwind
colors: {
  custom: {
    50: '#6d4647',
    500: '#310101',
    950: '#000000',
  },
}
SCSS
$custom: #310101;
$custom-light: #6d4647;
$custom-dark: #000000;
JSON
{
  "hex": "#310101",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 1
  },
  "hsl": {
    "h": 0,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19866,
    "c": 0.07866,
    "h": 28.5
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#310101
secondary
#177777
accent
#FFFF29
background
#F6F4F3
surface
#ECE6E5
border
#C7C2C1
text
#080000
muted
#7A7777

Preview Lab

Preview with #310101

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

Preview Lab → · Contrast checker → · Palette generator →

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