#31090A#31090A

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

Color values

HEX#31090A
RGBrgb(49, 9, 10)
HSLhsl(359, 69%, 11%)
HSVhsv(359, 82%, 19%)
CMYKcmyk(0%, 81.6%, 79.6%, 80.8%)
CIE-LABlab(7.86, 20.26, 8.12)
CIE-LCHlch(7.86, 21.83, 21.83°)
OKLaboklab(21.35% 0.0596 0.0254)
OKLCHoklch(21.35% 0.065 23.1)
XYZxyz(1.4192, 0.8705, 0.3804)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31090A #093130
analogous
#31091E #31090A #311C09
triadic
#31090A #0A3109 #090A31
tetradic
#31090A #1E3109 #093130 #1C0931
square
#31090A #1E3109 #093130 #1C0931
split-complementary
#31090A #09311C #091E31
monochromatic
#1A0505 #1A0505 #31090A #651215 #981C1F

Accessibility & contrast

On white

17.89
#31090A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31090A
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31090A#FFFFFF#000000##FFFFFF
##31090A1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31090a;
/* rgb */ color: rgb(49, 9, 10);
/* oklch */ color: oklch(21.4% 0.065 23.1);
Tailwind
colors: {
  custom: {
    50: '#6c4b4b',
    500: '#31090a',
    950: '#000000',
  },
}
SCSS
$custom: #31090a;
$custom-light: #6c4b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#31090a",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 10
  },
  "hsl": {
    "h": 358.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21353,
    "c": 0.06476,
    "h": 23.1
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#31090A
secondary
#276F6D
accent
#ECE73C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31090A

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

Preview Lab → · Contrast checker → · Palette generator →

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