#31090F#31090F

#31090F is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.5% C 0.064 H 15.8°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#31090F
RGBrgb(49, 9, 15)
HSLhsl(351, 69%, 11%)
HSVhsv(351, 82%, 19%)
CMYKcmyk(0%, 81.6%, 69.4%, 80.8%)
CIE-LABlab(7.98, 20.68, 5.94)
CIE-LCHlch(7.98, 21.52, 16.03°)
OKLaboklab(21.48% 0.062 0.0176)
OKLCHoklch(21.48% 0.064 15.8)
XYZxyz(1.4507, 0.8830, 0.5459)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31090F #09312B
analogous
#310923 #31090F #311709
triadic
#31090F #0F3109 #090F31
tetradic
#31090F #233109 #09312B #170931
square
#31090F #233109 #09312B #170931
split-complementary
#31090F #093117 #092331
monochromatic
#1A0508 #1A0508 #31090F #65121F #981C2F

Accessibility & contrast

On white

17.85
#31090F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31090F
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31090F#FFFFFF#000000##FFFFFF
##31090F1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13120F
Deuteranopia (green-blind)
#1D1B0E
Tritanopia (blue-blind)
#36030B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #31090f;
/* rgb */ color: rgb(49, 9, 15);
/* oklch */ color: oklch(21.5% 0.064 15.8);
Tailwind
colors: {
  custom: {
    50: '#6c4b4e',
    500: '#31090f',
    950: '#000000',
  },
}
SCSS
$custom: #31090f;
$custom-light: #6c4b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#31090f",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 15
  },
  "hsl": {
    "h": 351,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21475,
    "c": 0.06446,
    "h": 15.8
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#31090F
secondary
#276F64
accent
#ECD13C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31090F

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

Preview Lab → · Contrast checker → · Palette generator →

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