#31090B#31090B

#31090B is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.4% C 0.065 H 21.7°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#31090B
RGBrgb(49, 9, 11)
HSLhsl(357, 69%, 11%)
HSVhsv(357, 82%, 19%)
CMYKcmyk(0%, 81.6%, 77.6%, 80.8%)
CIE-LABlab(7.88, 20.34, 7.73)
CIE-LCHlch(7.88, 21.76, 20.80°)
OKLaboklab(21.38% 0.06 0.0239)
OKLCHoklch(21.38% 0.065 21.7)
XYZxyz(1.4249, 0.8727, 0.4100)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31090B #09312F
analogous
#31091F #31090B #311B09
triadic
#31090B #0B3109 #090B31
tetradic
#31090B #1F3109 #09312F #1B0931
square
#31090B #1F3109 #09312F #1B0931
split-complementary
#31090B #09311B #091F31
monochromatic
#1A0506 #1A0506 #31090B #651217 #981C22

Accessibility & contrast

On white

17.88
#31090B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#31090B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31090B
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31090B#FFFFFF#000000##FFFFFF
##31090B1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14120B
Deuteranopia (green-blind)
#1E1A0A
Tritanopia (blue-blind)
#37020A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #31090b;
/* rgb */ color: rgb(49, 9, 11);
/* oklch */ color: oklch(21.4% 0.065 21.7);
Tailwind
colors: {
  custom: {
    50: '#6c4b4b',
    500: '#31090b',
    950: '#000000',
  },
}
SCSS
$custom: #31090b;
$custom-light: #6c4b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#31090b",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 11
  },
  "hsl": {
    "h": 357,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21375,
    "c": 0.06463,
    "h": 21.7
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#31090B
secondary
#276F6B
accent
#ECE33C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31090B

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

Preview Lab → · Contrast checker → · Palette generator →

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