#310E07#310E07

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

Color values

HEX#310E07
RGBrgb(49, 14, 7)
HSLhsl(10, 75%, 11%)
HSVhsv(10, 86%, 19%)
CMYKcmyk(0%, 71.4%, 85.7%, 80.8%)
CIE-LABlab(8.85, 17.26, 10.77)
CIE-LCHlch(8.85, 20.34, 31.95°)
OKLaboklab(22.07% 0.0493 0.0326)
OKLCHoklch(22.07% 0.059 33.5)
XYZxyz(1.4622, 0.9826, 0.3136)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E07 #072A31
analogous
#310715 #310E07 #312307
triadic
#310E07 #07310E #0E0731
tetradic
#310E07 #153107 #072A31 #230731
square
#310E07 #153107 #072A31 #230731
split-complementary
#310E07 #073123 #071531
monochromatic
#1B0804 #1B0804 #310E07 #671D0F #9C2D16

Accessibility & contrast

On white

17.55
#310E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310E07
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E07#FFFFFF#000000##FFFFFF
##310E071.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181406
Deuteranopia (green-blind)
#201C06
Tritanopia (blue-blind)
#37070C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310e07;
/* rgb */ color: rgb(49, 14, 7);
/* oklch */ color: oklch(22.1% 0.059 33.5);
Tailwind
colors: {
  custom: {
    50: '#6c4e4a',
    500: '#310e07',
    950: '#000000',
  },
}
SCSS
$custom: #310e07;
$custom-light: #6c4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310e07",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 7
  },
  "hsl": {
    "h": 10,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22074,
    "c": 0.05909,
    "h": 33.5
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#310E07
secondary
#236471
accent
#D2F236
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310E07

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

Preview Lab → · Contrast checker → · Palette generator →

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