#310909#310909

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

Color values

HEX#310909
RGBrgb(49, 9, 9)
HSLhsl(0, 69%, 11%)
HSVhsv(0, 82%, 19%)
CMYKcmyk(0%, 81.6%, 81.6%, 80.8%)
CIE-LABlab(7.84, 20.19, 8.50)
CIE-LCHlch(7.84, 21.91, 22.82°)
OKLaboklab(21.33% 0.0591 0.0269)
OKLCHoklch(21.33% 0.065 24.5)
XYZxyz(1.4138, 0.8683, 0.3515)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310909 #093131
analogous
#31091D #310909 #311D09
triadic
#310909 #093109 #090931
tetradic
#310909 #1D3109 #093131 #1D0931
square
#310909 #1D3109 #093131 #1D0931
split-complementary
#310909 #09311D #091D31
monochromatic
#1A0505 #1A0505 #310909 #651212 #981C1C

Accessibility & contrast

On white

17.89
#310909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310909 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##310909#FFFFFF#000000##FFFFFF
##3109091.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)
#141209
Deuteranopia (green-blind)
#1E1A08
Tritanopia (blue-blind)
#370209
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310909;
/* rgb */ color: rgb(49, 9, 9);
/* oklch */ color: oklch(21.3% 0.065 24.5);
Tailwind
colors: {
  custom: {
    50: '#6c4b4b',
    500: '#310909',
    950: '#000000',
  },
}
SCSS
$custom: #310909;
$custom-light: #6c4b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#310909",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 9
  },
  "hsl": {
    "h": 0,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21332,
    "c": 0.0649,
    "h": 24.5
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#310909
secondary
#276F6F
accent
#ECEC3C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310909

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

Preview Lab → · Contrast checker → · Palette generator →

#310909 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva