#310907#310907

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

Color values

HEX#310907
RGBrgb(49, 9, 7)
HSLhsl(3, 75%, 11%)
HSVhsv(3, 86%, 19%)
CMYKcmyk(0%, 81.6%, 85.7%, 80.8%)
CIE-LABlab(7.80, 20.05, 9.25)
CIE-LCHlch(7.80, 22.08, 24.77°)
OKLaboklab(21.29% 0.058 0.03)
OKLCHoklch(21.29% 0.065 27.4)
XYZxyz(1.4028, 0.8639, 0.2939)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310907 #072F31
analogous
#31071A #310907 #311E07
triadic
#310907 #073109 #090731
tetradic
#310907 #1A3107 #072F31 #1E0731
square
#310907 #1A3107 #072F31 #1E0731
split-complementary
#310907 #07311E #071A31
monochromatic
#1B0504 #1B0504 #310907 #67130F #9C1D16

Accessibility & contrast

On white

17.91
#310907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310907
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310907#FFFFFF#000000##FFFFFF
##3109071.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310907;
/* rgb */ color: rgb(49, 9, 7);
/* oklch */ color: oklch(21.3% 0.065 27.4);
Tailwind
colors: {
  custom: {
    50: '#6c4b4a',
    500: '#310907',
    950: '#000000',
  },
}
SCSS
$custom: #310907;
$custom-light: #6c4b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310907",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 7
  },
  "hsl": {
    "h": 2.857,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21289,
    "c": 0.06531,
    "h": 27.4
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#310907
secondary
#236D71
accent
#E9F236
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310907

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

Preview Lab → · Contrast checker → · Palette generator →

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