#310607#310607

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

Color values

HEX#310607
RGBrgb(49, 6, 7)
HSLhsl(359, 78%, 11%)
HSVhsv(359, 88%, 19%)
CMYKcmyk(0%, 87.8%, 85.7%, 80.8%)
CIE-LABlab(7.22, 21.63, 8.39)
CIE-LCHlch(7.22, 23.20, 21.21°)
OKLaboklab(20.83% 0.0633 0.0285)
OKLCHoklch(20.83% 0.069 24.2)
XYZxyz(1.3703, 0.7988, 0.2830)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310607 #063130
analogous
#31061C #310607 #311A06
triadic
#310607 #073106 #060731
tetradic
#310607 #1C3106 #063130 #1A0631
square
#310607 #1C3106 #063130 #1A0631
split-complementary
#310607 #06311A #061C31
monochromatic
#1B0304 #1B0304 #310607 #680D0F #9E1317

Accessibility & contrast

On white

18.11
#310607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310607
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310607#FFFFFF#000000##FFFFFF
##3106071.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310607;
/* rgb */ color: rgb(49, 6, 7);
/* oklch */ color: oklch(20.8% 0.069 24.2);
Tailwind
colors: {
  custom: {
    50: '#6d494a',
    500: '#310607',
    950: '#000000',
  },
}
SCSS
$custom: #310607;
$custom-light: #6d494a;
$custom-dark: #000000;
JSON
{
  "hex": "#310607",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 7
  },
  "hsl": {
    "h": 358.605,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2083,
    "c": 0.06944,
    "h": 24.2
  },
  "luminance": 0.00799
}

Semantic roles & 50–950 ramp

primary
#310607
secondary
#217270
accent
#F5F033
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310607

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

Preview Lab → · Contrast checker → · Palette generator →

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