#31100F#31100F

#31100F is a very dark, muted red. Relative luminance 0.011; OKLCH L 22.6% C 0.054 H 24.1°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#31100F
RGBrgb(49, 16, 15)
HSLhsl(2, 53%, 13%)
HSVhsv(2, 69%, 19%)
CMYKcmyk(0%, 67.3%, 69.4%, 80.8%)
CIE-LABlab(9.47, 16.70, 8.10)
CIE-LCHlch(9.47, 18.56, 25.86°)
OKLaboklab(22.6% 0.0495 0.0221)
OKLCHoklch(22.6% 0.054 24.1)
XYZxyz(1.5383, 1.0582, 0.5751)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31100F #0F3031
analogous
#310F1F #31100F #31210F
triadic
#31100F #0F3110 #100F31
tetradic
#31100F #1F310F #0F3031 #210F31
square
#31100F #1F310F #0F3031 #210F31
split-complementary
#31100F #0F3121 #0F1F31
monochromatic
#170807 #170807 #31100F #601F1D #8F2F2C

Accessibility & contrast

On white

17.33
#31100F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#31100F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31100F
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31100F#FFFFFF#000000##FFFFFF
##31100F1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18160F
Deuteranopia (green-blind)
#201D0E
Tritanopia (blue-blind)
#360A10
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #31100f;
/* rgb */ color: rgb(49, 16, 15);
/* oklch */ color: oklch(22.6% 0.054 24.1);
Tailwind
colors: {
  custom: {
    50: '#6c4f4e',
    500: '#31100f',
    950: '#000000',
  },
}
SCSS
$custom: #31100f;
$custom-light: #6c4f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#31100f",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 15
  },
  "hsl": {
    "h": 1.765,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22595,
    "c": 0.05418,
    "h": 24.1
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#31100F
secondary
#31696B
accent
#D8DD4B
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #31100F

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

Preview Lab → · Contrast checker → · Palette generator →

#31100F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva