#310608#310608

#310608 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.9% C 0.069 H 22.8°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#310608
RGBrgb(49, 6, 8)
HSLhsl(357, 78%, 11%)
HSVhsv(357, 88%, 19%)
CMYKcmyk(0%, 87.8%, 83.7%, 80.8%)
CIE-LABlab(7.24, 21.70, 8.02)
CIE-LCHlch(7.24, 23.13, 20.27°)
OKLaboklab(20.85% 0.0639 0.0268)
OKLCHoklch(20.85% 0.069 22.8)
XYZxyz(1.3757, 0.8010, 0.3118)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310608 #06312F
analogous
#31061D #310608 #311906
triadic
#310608 #083106 #060831
tetradic
#310608 #1D3106 #06312F #190631
square
#310608 #1D3106 #06312F #190631
split-complementary
#310608 #063119 #061D31
monochromatic
#1B0304 #1B0304 #310608 #680D11 #9E131A

Accessibility & contrast

On white

18.10
#310608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310608
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310608#FFFFFF#000000##FFFFFF
##3106081.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310608;
/* rgb */ color: rgb(49, 6, 8);
/* oklch */ color: oklch(20.9% 0.069 22.8);
Tailwind
colors: {
  custom: {
    50: '#6d494a',
    500: '#310608',
    950: '#000000',
  },
}
SCSS
$custom: #310608;
$custom-light: #6d494a;
$custom-dark: #000000;
JSON
{
  "hex": "#310608",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 8
  },
  "hsl": {
    "h": 357.209,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20853,
    "c": 0.0693,
    "h": 22.8
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

primary
#310608
secondary
#21726E
accent
#F5EC33
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310608

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

Preview Lab → · Contrast checker → · Palette generator →

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