#310501#310501

#310501 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.5% C 0.073 H 32.6°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#310501
RGBrgb(49, 5, 1)
HSLhsl(5, 96%, 10%)
HSVhsv(5, 98%, 19%)
CMYKcmyk(0%, 89.8%, 98%, 80.8%)
CIE-LABlab(6.90, 21.67, 10.38)
CIE-LCHlch(6.90, 24.03, 25.58°)
OKLaboklab(20.54% 0.0612 0.0391)
OKLCHoklch(20.54% 0.073 32.6)
XYZxyz(1.3265, 0.7639, 0.1063)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310501 #012D31
analogous
#310115 #310501 #311D01
triadic
#310501 #013105 #050131
tetradic
#310501 #153101 #012D31 #1D0131
square
#310501 #153101 #012D31 #1D0131
split-complementary
#310501 #01311D #011531
monochromatic
#1E0301 #1E0301 #310501 #6D0B02 #A91103

Accessibility & contrast

On white

18.22
#310501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#310501 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310501
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310501#FFFFFF#000000##FFFFFF
##3105011.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F00
Deuteranopia (green-blind)
#1D1900
Tritanopia (blue-blind)
#370004
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310501;
/* rgb */ color: rgb(49, 5, 1);
/* oklch */ color: oklch(20.5% 0.073 32.6);
Tailwind
colors: {
  custom: {
    50: '#6d4947',
    500: '#310501',
    950: '#000000',
  },
}
SCSS
$custom: #310501;
$custom-light: #6d4947;
$custom-dark: #000000;
JSON
{
  "hex": "#310501",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 1
  },
  "hsl": {
    "h": 5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20535,
    "c": 0.07265,
    "h": 32.6
  },
  "luminance": 0.00764
}

Semantic roles & 50–950 ramp

primary
#310501
secondary
#176F77
accent
#EDFF29
background
#F6F4F3
surface
#ECE7E5
border
#C7C3C1
text
#070100
muted
#7A7777

Preview Lab

Preview with #310501

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

Preview Lab → · Contrast checker → · Palette generator →

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