#310708#310708

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

Color values

HEX#310708
RGBrgb(49, 7, 8)
HSLhsl(359, 75%, 11%)
HSVhsv(359, 86%, 19%)
CMYKcmyk(0%, 85.7%, 83.7%, 80.8%)
CIE-LABlab(7.43, 21.18, 8.30)
CIE-LCHlch(7.43, 22.74, 21.40°)
OKLaboklab(21.01% 0.0621 0.0274)
OKLCHoklch(21.01% 0.068 23.8)
XYZxyz(1.3866, 0.8227, 0.3155)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310708 #073130
analogous
#31071D #310708 #311B07
triadic
#310708 #083107 #070831
tetradic
#310708 #1D3107 #073130 #1B0731
square
#310708 #1D3107 #073130 #1B0731
split-complementary
#310708 #07311B #071D31
monochromatic
#1B0404 #1B0404 #310708 #670F11 #9C1619

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##310708#FFFFFF#000000##FFFFFF
##3107081.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)
#131108
Deuteranopia (green-blind)
#1D1A07
Tritanopia (blue-blind)
#370008
Achromatopsia (no color)
#161616

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#310708
secondary
#23716F
accent
#F2ED36
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310708

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

Preview Lab → · Contrast checker → · Palette generator →

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