#310201#310201

#310201 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.0% C 0.077 H 29.5°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#310201
RGBrgb(49, 2, 1)
HSLhsl(1, 96%, 10%)
HSVhsv(1, 98%, 19%)
CMYKcmyk(0%, 95.9%, 98%, 80.8%)
CIE-LABlab(6.31, 23.22, 9.52)
CIE-LCHlch(6.31, 25.09, 22.29°)
OKLaboklab(20.04% 0.0671 0.0379)
OKLCHoklch(20.04% 0.077 29.5)
XYZxyz(1.2940, 0.6988, 0.0955)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310201 #013031
analogous
#310118 #310201 #311A01
triadic
#310201 #013102 #020131
tetradic
#310201 #183101 #013031 #1A0131
square
#310201 #183101 #013031 #1A0131
split-complementary
#310201 #01311A #011831
monochromatic
#1E0101 #1E0101 #310201 #6D0402 #A90703

Accessibility & contrast

On white

18.42
#310201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##310201#FFFFFF#000000##FFFFFF
##3102011.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)
#100D01
Deuteranopia (green-blind)
#1C1800
Tritanopia (blue-blind)
#370002
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310201;
/* rgb */ color: rgb(49, 2, 1);
/* oklch */ color: oklch(20.0% 0.077 29.5);
Tailwind
colors: {
  custom: {
    50: '#6d4747',
    500: '#310201',
    950: '#000000',
  },
}
SCSS
$custom: #310201;
$custom-light: #6d4747;
$custom-dark: #000000;
JSON
{
  "hex": "#310201",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 1
  },
  "hsl": {
    "h": 1.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20038,
    "c": 0.07706,
    "h": 29.5
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#310201
secondary
#177577
accent
#FBFF29
background
#F6F4F3
surface
#ECE6E5
border
#C7C2C1
text
#080000
muted
#7A7777

Preview Lab

Preview with #310201

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

Preview Lab → · Contrast checker → · Palette generator →

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