#310904#310904

#310904 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.2% C 0.066 H 31.9°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#310904
RGBrgb(49, 9, 4)
HSLhsl(7, 85%, 10%)
HSVhsv(7, 92%, 19%)
CMYKcmyk(0%, 81.6%, 91.8%, 80.8%)
CIE-LABlab(7.74, 19.82, 10.39)
CIE-LCHlch(7.74, 22.38, 27.65°)
OKLaboklab(21.22% 0.0562 0.0351)
OKLCHoklch(21.22% 0.066 31.9)
XYZxyz(1.3864, 0.8573, 0.2073)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310904 #042C31
analogous
#310415 #310904 #311F04
triadic
#310904 #043109 #090431
tetradic
#310904 #153104 #042C31 #1F0431
square
#310904 #153104 #042C31 #1F0431
split-complementary
#310904 #04311F #041531
monochromatic
#1C0502 #1C0502 #310904 #6A1309 #A21E0D

Accessibility & contrast

On white

17.93
#310904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310904
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310904#FFFFFF#000000##FFFFFF
##3109041.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151103
Deuteranopia (green-blind)
#1F1A03
Tritanopia (blue-blind)
#370108
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310904;
/* rgb */ color: rgb(49, 9, 4);
/* oklch */ color: oklch(21.2% 0.066 31.9);
Tailwind
colors: {
  custom: {
    50: '#6c4b48',
    500: '#310904',
    950: '#000000',
  },
}
SCSS
$custom: #310904;
$custom-light: #6c4b48;
$custom-dark: #000000;
JSON
{
  "hex": "#310904",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 4
  },
  "hsl": {
    "h": 6.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21224,
    "c": 0.06626,
    "h": 31.9
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#310904
secondary
#1D6A73
accent
#E4FB2D
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310904

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

Preview Lab → · Contrast checker → · Palette generator →

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