#31090C#31090C

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

Color values

HEX#31090C
RGBrgb(49, 9, 12)
HSLhsl(356, 69%, 11%)
HSVhsv(356, 82%, 19%)
CMYKcmyk(0%, 81.6%, 75.5%, 80.8%)
CIE-LABlab(7.90, 20.42, 7.32)
CIE-LCHlch(7.90, 21.69, 19.71°)
OKLaboklab(21.4% 0.0605 0.0224)
OKLCHoklch(21.4% 0.065 20.3)
XYZxyz(1.4308, 0.8751, 0.4413)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31090C #09312E
analogous
#310920 #31090C #311A09
triadic
#31090C #0C3109 #090C31
tetradic
#31090C #203109 #09312E #1A0931
square
#31090C #203109 #09312E #1A0931
split-complementary
#31090C #09311A #092031
monochromatic
#1A0506 #1A0506 #31090C #651219 #981C25

Accessibility & contrast

On white

17.87
#31090C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#31090C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31090C
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31090C#FFFFFF#000000##FFFFFF
##31090C1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31090c;
/* rgb */ color: rgb(49, 9, 12);
/* oklch */ color: oklch(21.4% 0.065 20.3);
Tailwind
colors: {
  custom: {
    50: '#6c4b4c',
    500: '#31090c',
    950: '#000000',
  },
}
SCSS
$custom: #31090c;
$custom-light: #6c4b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#31090c",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 12
  },
  "hsl": {
    "h": 355.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21398,
    "c": 0.06455,
    "h": 20.3
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#31090C
secondary
#276F6A
accent
#ECDF3C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31090C

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

Preview Lab → · Contrast checker → · Palette generator →

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