#310F08#310F08

#310F08 is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.3% C 0.057 H 33.5°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#310F08
RGBrgb(49, 15, 8)
HSLhsl(10, 72%, 11%)
HSVhsv(10, 84%, 19%)
CMYKcmyk(0%, 69.4%, 83.7%, 80.8%)
CIE-LABlab(9.09, 16.73, 10.71)
CIE-LCHlch(9.09, 19.87, 32.63°)
OKLaboklab(22.27% 0.0479 0.0317)
OKLCHoklch(22.27% 0.057 33.5)
XYZxyz(1.4814, 1.0123, 0.3471)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F08 #082A31
analogous
#310815 #310F08 #312308
triadic
#310F08 #08310F #0F0831
tetradic
#310F08 #153108 #082A31 #230831
square
#310F08 #153108 #082A31 #230831
split-complementary
#310F08 #083123 #081531
monochromatic
#1A0804 #1A0804 #310F08 #661F11 #9A2F19

Accessibility & contrast

On white

17.47
#310F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310F08
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F08#FFFFFF#000000##FFFFFF
##310F081.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181507
Deuteranopia (green-blind)
#211C07
Tritanopia (blue-blind)
#37080D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f08;
/* rgb */ color: rgb(49, 15, 8);
/* oklch */ color: oklch(22.3% 0.057 33.5);
Tailwind
colors: {
  custom: {
    50: '#6c4e4a',
    500: '#310f08',
    950: '#000000',
  },
}
SCSS
$custom: #310f08;
$custom-light: #6c4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310f08",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 8
  },
  "hsl": {
    "h": 10.244,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22268,
    "c": 0.05746,
    "h": 33.5
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#310F08
secondary
#256370
accent
#D0EF39
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #310F08

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

Preview Lab → · Contrast checker → · Palette generator →

#310F08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva