#310707#310707

#310707 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.0% C 0.068 H 25.2°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#310707
RGBrgb(49, 7, 7)
HSLhsl(0, 75%, 11%)
HSVhsv(0, 86%, 19%)
CMYKcmyk(0%, 85.7%, 85.7%, 80.8%)
CIE-LABlab(7.41, 21.10, 8.68)
CIE-LCHlch(7.41, 22.81, 22.36°)
OKLaboklab(20.99% 0.0615 0.029)
OKLCHoklch(20.99% 0.068 25.2)
XYZxyz(1.3811, 0.8205, 0.2866)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310707 #073131
analogous
#31071C #310707 #311C07
triadic
#310707 #073107 #070731
tetradic
#310707 #1C3107 #073131 #1C0731
square
#310707 #1C3107 #073131 #1C0731
split-complementary
#310707 #07311C #071C31
monochromatic
#1B0404 #1B0404 #310707 #670F0F #9C1616

Accessibility & contrast

On white

18.04
#310707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310707
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310707#FFFFFF#000000##FFFFFF
##3107071.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131107
Deuteranopia (green-blind)
#1D1A06
Tritanopia (blue-blind)
#370007
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310707;
/* rgb */ color: rgb(49, 7, 7);
/* oklch */ color: oklch(21.0% 0.068 25.2);
Tailwind
colors: {
  custom: {
    50: '#6d4a4a',
    500: '#310707',
    950: '#000000',
  },
}
SCSS
$custom: #310707;
$custom-light: #6d4a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310707",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 7
  },
  "hsl": {
    "h": 0,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20986,
    "c": 0.068,
    "h": 25.2
  },
  "luminance": 0.0082
}

Semantic roles & 50–950 ramp

primary
#310707
secondary
#237171
accent
#F2F236
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310707

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

Preview Lab → · Contrast checker → · Palette generator →

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