#31060B#31060B

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

Color values

HEX#31060B
RGBrgb(49, 6, 11)
HSLhsl(353, 78%, 11%)
HSVhsv(353, 88%, 19%)
CMYKcmyk(0%, 87.8%, 77.6%, 80.8%)
CIE-LABlab(7.29, 21.93, 6.87)
CIE-LCHlch(7.29, 22.98, 17.39°)
OKLaboklab(20.92% 0.0654 0.0222)
OKLCHoklch(20.92% 0.069 18.7)
XYZxyz(1.3923, 0.8076, 0.3991)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31060B #06312C
analogous
#310620 #31060B #311606
triadic
#31060B #0B3106 #060B31
tetradic
#31060B #203106 #06312C #160631
square
#31060B #203106 #06312C #160631
split-complementary
#31060B #063116 #062031
monochromatic
#1B0306 #1B0306 #31060B #680D17 #9E1323

Accessibility & contrast

On white

18.08
#31060B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31060B
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31060B#FFFFFF#000000##FFFFFF
##31060B1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31060b;
/* rgb */ color: rgb(49, 6, 11);
/* oklch */ color: oklch(20.9% 0.069 18.7);
Tailwind
colors: {
  custom: {
    50: '#6d494b',
    500: '#31060b',
    950: '#000000',
  },
}
SCSS
$custom: #31060b;
$custom-light: #6d494b;
$custom-dark: #000000;
JSON
{
  "hex": "#31060b",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 11
  },
  "hsl": {
    "h": 353.023,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20921,
    "c": 0.06906,
    "h": 18.7
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#31060B
secondary
#217268
accent
#F5DE33
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31060B

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

Preview Lab → · Contrast checker → · Palette generator →

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