#31010A#31010A

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

Color values

HEX#31010A
RGBrgb(49, 1, 10)
HSLhsl(349, 96%, 10%)
HSVhsv(349, 98%, 19%)
CMYKcmyk(0%, 98%, 79.6%, 80.8%)
CIE-LABlab(6.29, 24.46, 5.83)
CIE-LCHlch(6.29, 25.15, 13.39°)
OKLaboklab(20.09% 0.0749 0.0206)
OKLCHoklch(20.09% 0.078 15.4)
XYZxyz(1.3324, 0.6968, 0.3514)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31010A #013128
analogous
#310122 #31010A #311001
triadic
#31010A #0A3101 #010A31
tetradic
#31010A #223101 #013128 #100131
square
#31010A #223101 #013128 #100131
split-complementary
#31010A #013110 #012231
monochromatic
#1E0106 #1E0106 #31010A #6D0216 #A90322

Accessibility & contrast

On white

18.43
#31010A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#31010A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31010A
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31010A#FFFFFF#000000##FFFFFF
##31010A1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31010a;
/* rgb */ color: rgb(49, 1, 10);
/* oklch */ color: oklch(20.1% 0.078 15.4);
Tailwind
colors: {
  custom: {
    50: '#6d474b',
    500: '#31010a',
    950: '#000000',
  },
}
SCSS
$custom: #31010a;
$custom-light: #6d474b;
$custom-dark: #000000;
JSON
{
  "hex": "#31010a",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 10
  },
  "hsl": {
    "h": 348.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20089,
    "c": 0.07768,
    "h": 15.4
  },
  "luminance": 0.00697
}

Semantic roles & 50–950 ramp

primary
#31010A
secondary
#177765
accent
#FFD729
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #31010A

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

Preview Lab → · Contrast checker → · Palette generator →

#31010A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva