#31030A#31030A

#31030A is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.4% C 0.074 H 17.2°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#31030A
RGBrgb(49, 3, 10)
HSLhsl(351, 88%, 10%)
HSVhsv(351, 94%, 19%)
CMYKcmyk(0%, 93.9%, 79.6%, 80.8%)
CIE-LABlab(6.69, 23.43, 6.40)
CIE-LCHlch(6.69, 24.28, 15.27°)
OKLaboklab(20.42% 0.0707 0.0219)
OKLCHoklch(20.42% 0.074 17.2)
XYZxyz(1.3541, 0.7402, 0.3587)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31030A #03312A
analogous
#310321 #31030A #311303
triadic
#31030A #0A3103 #030A31
tetradic
#31030A #213103 #03312A #130331
square
#31030A #213103 #03312A #130331
split-complementary
#31030A #033113 #032131
monochromatic
#1D0206 #1D0206 #31030A #6B0716 #A40A22

Accessibility & contrast

On white

18.29
#31030A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#31030A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31030A
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31030A#FFFFFF#000000##FFFFFF
##31030A1.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100E0A
Deuteranopia (green-blind)
#1C1809
Tritanopia (blue-blind)
#370006
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #31030a;
/* rgb */ color: rgb(49, 3, 10);
/* oklch */ color: oklch(20.4% 0.074 17.2);
Tailwind
colors: {
  custom: {
    50: '#6d484b',
    500: '#31030a',
    950: '#000000',
  },
}
SCSS
$custom: #31030a;
$custom-light: #6d484b;
$custom-dark: #000000;
JSON
{
  "hex": "#31030a",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 10
  },
  "hsl": {
    "h": 350.87,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20421,
    "c": 0.07403,
    "h": 17.2
  },
  "luminance": 0.0074
}

Semantic roles & 50–950 ramp

primary
#31030A
secondary
#1B7467
accent
#FFDE29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #31030A

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

Preview Lab → · Contrast checker → · Palette generator →

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