#310301#310301

#310301 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.2% C 0.076 H 30.5°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#310301
RGBrgb(49, 3, 1)
HSLhsl(3, 96%, 10%)
HSVhsv(3, 98%, 19%)
CMYKcmyk(0%, 93.9%, 98%, 80.8%)
CIE-LABlab(6.51, 22.70, 9.80)
CIE-LCHlch(6.51, 24.73, 23.36°)
OKLaboklab(20.21% 0.0651 0.0383)
OKLCHoklch(20.21% 0.076 30.5)
XYZxyz(1.3048, 0.7205, 0.0991)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310301 #012F31
analogous
#310117 #310301 #311B01
triadic
#310301 #013103 #030131
tetradic
#310301 #173101 #012F31 #1B0131
square
#310301 #173101 #012F31 #1B0131
split-complementary
#310301 #01311B #011731
monochromatic
#1E0201 #1E0201 #310301 #6D0702 #A90A03

Accessibility & contrast

On white

18.36
#310301 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310301
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310301#FFFFFF#000000##FFFFFF
##3103011.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110E01
Deuteranopia (green-blind)
#1D1800
Tritanopia (blue-blind)
#370003
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310301;
/* rgb */ color: rgb(49, 3, 1);
/* oklch */ color: oklch(20.2% 0.076 30.5);
Tailwind
colors: {
  custom: {
    50: '#6d4847',
    500: '#310301',
    950: '#000000',
  },
}
SCSS
$custom: #310301;
$custom-light: #6d4847;
$custom-dark: #000000;
JSON
{
  "hex": "#310301",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 1
  },
  "hsl": {
    "h": 2.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20206,
    "c": 0.07552,
    "h": 30.5
  },
  "luminance": 0.0072
}

Semantic roles & 50–950 ramp

primary
#310301
secondary
#177377
accent
#F6FF29
background
#F6F4F3
surface
#ECE6E5
border
#C7C2C1
text
#080000
muted
#7A7777

Preview Lab

Preview with #310301

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

Preview Lab → · Contrast checker → · Palette generator →

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