#310109#310109

#310109 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.1% C 0.078 H 16.6°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#310109
RGBrgb(49, 1, 9)
HSLhsl(350, 96%, 10%)
HSVhsv(350, 98%, 19%)
CMYKcmyk(0%, 98%, 81.6%, 80.8%)
CIE-LABlab(6.27, 24.38, 6.20)
CIE-LCHlch(6.27, 25.16, 14.27°)
OKLaboklab(20.06% 0.0744 0.0222)
OKLCHoklch(20.06% 0.078 16.6)
XYZxyz(1.3269, 0.6946, 0.3226)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310109 #013129
analogous
#310121 #310109 #311101
triadic
#310109 #093101 #010931
tetradic
#310109 #213101 #013129 #110131
square
#310109 #213101 #013129 #110131
split-complementary
#310109 #013111 #012131
monochromatic
#1E0106 #1E0106 #310109 #6D0214 #A9031F

Accessibility & contrast

On white

18.44
#310109 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310109
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310109#FFFFFF#000000##FFFFFF
##3101091.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0D09
Deuteranopia (green-blind)
#1B1808
Tritanopia (blue-blind)
#370004
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310109;
/* rgb */ color: rgb(49, 1, 9);
/* oklch */ color: oklch(20.1% 0.078 16.6);
Tailwind
colors: {
  custom: {
    50: '#6d474b',
    500: '#310109',
    950: '#000000',
  },
}
SCSS
$custom: #310109;
$custom-light: #6d474b;
$custom-dark: #000000;
JSON
{
  "hex": "#310109",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 9
  },
  "hsl": {
    "h": 350,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20064,
    "c": 0.07764,
    "h": 16.6
  },
  "luminance": 0.00694
}

Semantic roles & 50–950 ramp

primary
#310109
secondary
#177767
accent
#FFDB29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #310109

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

Preview Lab → · Contrast checker → · Palette generator →

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