#31060A#31060A

#31060A is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.9% C 0.069 H 20.1°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#31060A
RGBrgb(49, 6, 10)
HSLhsl(354, 78%, 11%)
HSVhsv(354, 88%, 19%)
CMYKcmyk(0%, 87.8%, 79.6%, 80.8%)
CIE-LABlab(7.27, 21.86, 7.26)
CIE-LCHlch(7.27, 23.03, 18.37°)
OKLaboklab(20.9% 0.0649 0.0237)
OKLCHoklch(20.9% 0.069 20.1)
XYZxyz(1.3867, 0.8053, 0.3695)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31060A #06312D
analogous
#31061F #31060A #311706
triadic
#31060A #0A3106 #060A31
tetradic
#31060A #1F3106 #06312D #170631
square
#31060A #1F3106 #06312D #170631
split-complementary
#31060A #063117 #061F31
monochromatic
#1B0306 #1B0306 #31060A #680D15 #9E1320

Accessibility & contrast

On white

18.09
#31060A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#31060A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31060A
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31060A#FFFFFF#000000##FFFFFF
##31060A1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31060a;
/* rgb */ color: rgb(49, 6, 10);
/* oklch */ color: oklch(20.9% 0.069 20.1);
Tailwind
colors: {
  custom: {
    50: '#6d494b',
    500: '#31060a',
    950: '#000000',
  },
}
SCSS
$custom: #31060a;
$custom-light: #6d494b;
$custom-dark: #000000;
JSON
{
  "hex": "#31060a",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 10
  },
  "hsl": {
    "h": 354.419,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20898,
    "c": 0.0691,
    "h": 20.1
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#31060A
secondary
#21726A
accent
#F5E333
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31060A

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

Preview Lab → · Contrast checker → · Palette generator →

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