#310C01#310C01

#310C01 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.6% C 0.064 H 40.3°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#310C01
RGBrgb(49, 12, 1)
HSLhsl(14, 96%, 10%)
HSVhsv(14, 98%, 19%)
CMYKcmyk(0%, 75.5%, 98%, 80.8%)
CIE-LABlab(8.29, 17.97, 12.41)
CIE-LCHlch(8.29, 21.84, 34.63°)
OKLaboklab(21.62% 0.0492 0.0417)
OKLCHoklch(21.62% 0.064 40.3)
XYZxyz(1.4037, 0.9183, 0.1320)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C01 #012631
analogous
#31010E #310C01 #312401
triadic
#310C01 #01310C #0C0131
tetradic
#310C01 #0E3101 #012631 #240131
square
#310C01 #0E3101 #012631 #240131
split-complementary
#310C01 #013124 #010E31
monochromatic
#1E0701 #1E0701 #310C01 #6D1B02 #A92903

Accessibility & contrast

On white

17.74
#310C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310C01
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C01#FFFFFF#000000##FFFFFF
##310C011.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171300
Deuteranopia (green-blind)
#201B00
Tritanopia (blue-blind)
#370309
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310c01;
/* rgb */ color: rgb(49, 12, 1);
/* oklch */ color: oklch(21.6% 0.064 40.3);
Tailwind
colors: {
  custom: {
    50: '#6c4d47',
    500: '#310c01',
    950: '#000000',
  },
}
SCSS
$custom: #310c01;
$custom-light: #6c4d47;
$custom-dark: #000000;
JSON
{
  "hex": "#310c01",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 1
  },
  "hsl": {
    "h": 13.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21619,
    "c": 0.06446,
    "h": 40.3
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#310C01
secondary
#176177
accent
#CEFF29
background
#F6F4F3
surface
#ECE7E5
border
#C7C3C1
text
#070100
muted
#7A7777

Preview Lab

Preview with #310C01

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

Preview Lab → · Contrast checker → · Palette generator →

#310C01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva