#310906#310906

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

Color values

HEX#310906
RGBrgb(49, 9, 6)
HSLhsl(4, 78%, 11%)
HSVhsv(4, 88%, 19%)
CMYKcmyk(0%, 81.6%, 87.8%, 80.8%)
CIE-LABlab(7.78, 19.97, 9.63)
CIE-LCHlch(7.78, 22.17, 25.74°)
OKLaboklab(21.27% 0.0574 0.0317)
OKLCHoklch(21.27% 0.066 28.9)
XYZxyz(1.3973, 0.8617, 0.2650)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310906 #062E31
analogous
#310618 #310906 #311E06
triadic
#310906 #063109 #090631
tetradic
#310906 #183106 #062E31 #1E0631
square
#310906 #183106 #062E31 #1E0631
split-complementary
#310906 #06311E #061831
monochromatic
#1B0503 #1B0503 #310906 #68130D #9E1D13

Accessibility & contrast

On white

17.92
#310906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310906
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310906#FFFFFF#000000##FFFFFF
##3109061.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141205
Deuteranopia (green-blind)
#1E1A05
Tritanopia (blue-blind)
#370109
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310906;
/* rgb */ color: rgb(49, 9, 6);
/* oklch */ color: oklch(21.3% 0.066 28.9);
Tailwind
colors: {
  custom: {
    50: '#6c4b49',
    500: '#310906',
    950: '#000000',
  },
}
SCSS
$custom: #310906;
$custom-light: #6c4b49;
$custom-dark: #000000;
JSON
{
  "hex": "#310906",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 6
  },
  "hsl": {
    "h": 4.186,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21267,
    "c": 0.06558,
    "h": 28.9
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#310906
secondary
#216C72
accent
#E7F533
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310906

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

Preview Lab → · Contrast checker → · Palette generator →

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