#31060E#31060E

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

Color values

HEX#31060E
RGBrgb(49, 6, 14)
HSLhsl(349, 78%, 11%)
HSVhsv(349, 88%, 19%)
CMYKcmyk(0%, 87.8%, 71.4%, 80.8%)
CIE-LABlab(7.36, 22.19, 5.57)
CIE-LCHlch(7.36, 22.88, 14.08°)
OKLaboklab(21% 0.0669 0.0173)
OKLCHoklch(21% 0.069 14.5)
XYZxyz(1.4112, 0.8151, 0.4984)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31060E #063129
analogous
#310623 #31060E #311306
triadic
#31060E #0E3106 #060E31
tetradic
#31060E #233106 #063129 #130631
square
#31060E #233106 #063129 #130631
split-complementary
#31060E #063113 #062331
monochromatic
#1B0308 #1B0308 #31060E #680D1E #9E132D

Accessibility & contrast

On white

18.06
#31060E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31060E
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31060E#FFFFFF#000000##FFFFFF
##31060E1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100E
Deuteranopia (green-blind)
#1C1A0D
Tritanopia (blue-blind)
#370009
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #31060e;
/* rgb */ color: rgb(49, 6, 14);
/* oklch */ color: oklch(21.0% 0.069 14.5);
Tailwind
colors: {
  custom: {
    50: '#6d494d',
    500: '#31060e',
    950: '#000000',
  },
}
SCSS
$custom: #31060e;
$custom-light: #6d494d;
$custom-dark: #000000;
JSON
{
  "hex": "#31060e",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 14
  },
  "hsl": {
    "h": 348.837,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20998,
    "c": 0.0691,
    "h": 14.5
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#31060E
secondary
#217263
accent
#F5D133
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31060E

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

Preview Lab → · Contrast checker → · Palette generator →

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