#310106#310106

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

Color values

HEX#310106
RGBrgb(49, 1, 6)
HSLhsl(354, 96%, 10%)
HSVhsv(354, 98%, 19%)
CMYKcmyk(0%, 98%, 87.8%, 80.8%)
CIE-LABlab(6.21, 24.14, 7.34)
CIE-LCHlch(6.21, 25.23, 16.91°)
OKLaboklab(19.99% 0.0727 0.0274)
OKLCHoklch(19.99% 0.078 20.6)
XYZxyz(1.3105, 0.6880, 0.2361)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310106 #01312C
analogous
#31011E #310106 #311401
triadic
#310106 #063101 #010631
tetradic
#310106 #1E3101 #01312C #140131
square
#310106 #1E3101 #01312C #140131
split-complementary
#310106 #013114 #011E31
monochromatic
#1E0104 #1E0104 #310106 #6D020D #A90315

Accessibility & contrast

On white

18.46
#310106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310106
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310106#FFFFFF#000000##FFFFFF
##3101061.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0D06
Deuteranopia (green-blind)
#1B1805
Tritanopia (blue-blind)
#370003
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310106;
/* rgb */ color: rgb(49, 1, 6);
/* oklch */ color: oklch(20.0% 0.078 20.6);
Tailwind
colors: {
  custom: {
    50: '#6d4749',
    500: '#310106',
    950: '#000000',
  },
}
SCSS
$custom: #310106;
$custom-light: #6d4749;
$custom-dark: #000000;
JSON
{
  "hex": "#310106",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 6
  },
  "hsl": {
    "h": 353.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1999,
    "c": 0.07771,
    "h": 20.6
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#310106
secondary
#17776D
accent
#FFE929
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#080000
muted
#7A7777

Preview Lab

Preview with #310106

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

Preview Lab → · Contrast checker → · Palette generator →

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