#31070A#31070A

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

Color values

HEX#31070A
RGBrgb(49, 7, 10)
HSLhsl(356, 75%, 11%)
HSVhsv(356, 86%, 19%)
CMYKcmyk(0%, 85.7%, 79.6%, 80.8%)
CIE-LABlab(7.47, 21.33, 7.54)
CIE-LCHlch(7.47, 22.62, 19.48°)
OKLaboklab(21.05% 0.0631 0.0243)
OKLCHoklch(21.05% 0.068 21.1)
XYZxyz(1.3975, 0.8270, 0.3731)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31070A #07312E
analogous
#31071F #31070A #311907
triadic
#31070A #0A3107 #070A31
tetradic
#31070A #1F3107 #07312E #190731
square
#31070A #1F3107 #07312E #190731
split-complementary
#31070A #073119 #071F31
monochromatic
#1B0405 #1B0405 #31070A #670F15 #9C1620

Accessibility & contrast

On white

18.02
#31070A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31070A
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31070A#FFFFFF#000000##FFFFFF
##31070A1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13110A
Deuteranopia (green-blind)
#1D1A09
Tritanopia (blue-blind)
#370008
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #31070a;
/* rgb */ color: rgb(49, 7, 10);
/* oklch */ color: oklch(21.1% 0.068 21.1);
Tailwind
colors: {
  custom: {
    50: '#6d4a4b',
    500: '#31070a',
    950: '#000000',
  },
}
SCSS
$custom: #31070a;
$custom-light: #6d4a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#31070a",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 10
  },
  "hsl": {
    "h": 355.714,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21052,
    "c": 0.0676,
    "h": 21.1
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#31070A
secondary
#23716B
accent
#F2E436
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31070A

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

Preview Lab → · Contrast checker → · Palette generator →

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