#31070E#31070E

#31070E is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.1% C 0.067 H 15.4°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#31070E
RGBrgb(49, 7, 14)
HSLhsl(350, 75%, 11%)
HSVhsv(350, 86%, 19%)
CMYKcmyk(0%, 85.7%, 71.4%, 80.8%)
CIE-LABlab(7.56, 21.66, 5.85)
CIE-LCHlch(7.56, 22.43, 15.12°)
OKLaboklab(21.15% 0.0651 0.018)
OKLCHoklch(21.15% 0.067 15.4)
XYZxyz(1.4220, 0.8368, 0.5020)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31070E #07312A
analogous
#310723 #31070E #311507
triadic
#31070E #0E3107 #070E31
tetradic
#31070E #233107 #07312A #150731
square
#31070E #233107 #07312A #150731
split-complementary
#31070E #073115 #072331
monochromatic
#1B0408 #1B0408 #31070E #670F1D #9C162D

Accessibility & contrast

On white

17.99
#31070E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#31070E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31070E
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31070E#FFFFFF#000000##FFFFFF
##31070E1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12110E
Deuteranopia (green-blind)
#1D1A0D
Tritanopia (blue-blind)
#37010A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #31070e;
/* rgb */ color: rgb(49, 7, 14);
/* oklch */ color: oklch(21.1% 0.067 15.4);
Tailwind
colors: {
  custom: {
    50: '#6c4a4d',
    500: '#31070e',
    950: '#000000',
  },
}
SCSS
$custom: #31070e;
$custom-light: #6c4a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#31070e",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 14
  },
  "hsl": {
    "h": 350,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2115,
    "c": 0.06749,
    "h": 15.4
  },
  "luminance": 0.00837
}

Semantic roles & 50–950 ramp

primary
#31070E
secondary
#237164
accent
#F2D236
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31070E

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

Preview Lab → · Contrast checker → · Palette generator →

#31070E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva