#310F07#310F07

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

Color values

HEX#310F07
RGBrgb(49, 15, 7)
HSLhsl(11, 75%, 11%)
HSVhsv(11, 86%, 19%)
CMYKcmyk(0%, 69.4%, 85.7%, 80.8%)
CIE-LABlab(9.08, 16.65, 11.10)
CIE-LCHlch(9.08, 20.01, 33.68°)
OKLaboklab(22.25% 0.0474 0.0332)
OKLCHoklch(22.25% 0.058 35)
XYZxyz(1.4759, 1.0102, 0.3182)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F07 #072931
analogous
#310714 #310F07 #312407
triadic
#310F07 #07310F #0F0731
tetradic
#310F07 #143107 #072931 #240731
square
#310F07 #143107 #072931 #240731
split-complementary
#310F07 #073124 #071431
monochromatic
#1B0804 #1B0804 #310F07 #671F0F #9C3016

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##310F07#FFFFFF#000000##FFFFFF
##310F071.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)
#181506
Deuteranopia (green-blind)
#211C06
Tritanopia (blue-blind)
#37080D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f07;
/* rgb */ color: rgb(49, 15, 7);
/* oklch */ color: oklch(22.2% 0.058 35.0);
Tailwind
colors: {
  custom: {
    50: '#6c4e4a',
    500: '#310f07',
    950: '#000000',
  },
}
SCSS
$custom: #310f07;
$custom-light: #6c4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310f07",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 7
  },
  "hsl": {
    "h": 11.429,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22248,
    "c": 0.05786,
    "h": 35
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#310F07
secondary
#236271
accent
#CEF236
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #310F07

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

Preview Lab → · Contrast checker → · Palette generator →

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