#31010D#31010D

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

Color values

HEX#31010D
RGBrgb(49, 1, 13)
HSLhsl(345, 96%, 10%)
HSVhsv(345, 98%, 19%)
CMYKcmyk(0%, 98%, 73.5%, 80.8%)
CIE-LABlab(6.36, 24.73, 4.59)
CIE-LCHlch(6.36, 25.15, 10.52°)
OKLaboklab(20.17% 0.0764 0.0156)
OKLCHoklch(20.17% 0.078 11.5)
XYZxyz(1.3503, 0.7039, 0.4455)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31010D #013125
analogous
#310125 #31010D #310D01
triadic
#31010D #0D3101 #010D31
tetradic
#31010D #253101 #013125 #0D0131
square
#31010D #253101 #013125 #0D0131
split-complementary
#31010D #01310D #012531
monochromatic
#1E0108 #1E0108 #31010D #6D021D #A9032D

Accessibility & contrast

On white

18.41
#31010D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31010D
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31010D#FFFFFF#000000##FFFFFF
##31010D1.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0D
Deuteranopia (green-blind)
#1A180C
Tritanopia (blue-blind)
#370005
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #31010d;
/* rgb */ color: rgb(49, 1, 13);
/* oklch */ color: oklch(20.2% 0.078 11.5);
Tailwind
colors: {
  custom: {
    50: '#6d474d',
    500: '#31010d',
    950: '#000000',
  },
}
SCSS
$custom: #31010d;
$custom-light: #6d474d;
$custom-dark: #000000;
JSON
{
  "hex": "#31010d",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 13
  },
  "hsl": {
    "h": 345,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20168,
    "c": 0.07795,
    "h": 11.5
  },
  "luminance": 0.00704
}

Semantic roles & 50–950 ramp

primary
#31010D
secondary
#17775F
accent
#FFC929
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #31010D

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

Preview Lab → · Contrast checker → · Palette generator →

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