#310706#310706

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

Color values

HEX#310706
RGBrgb(49, 7, 6)
HSLhsl(1, 78%, 11%)
HSVhsv(1, 88%, 19%)
CMYKcmyk(0%, 85.7%, 87.8%, 80.8%)
CIE-LABlab(7.39, 21.02, 9.06)
CIE-LCHlch(7.39, 22.89, 23.31°)
OKLaboklab(20.96% 0.0609 0.0307)
OKLCHoklch(20.96% 0.068 26.7)
XYZxyz(1.3756, 0.8183, 0.2578)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310706 #063031
analogous
#31061A #310706 #311C06
triadic
#310706 #063107 #070631
tetradic
#310706 #1A3106 #063031 #1C0631
square
#310706 #1A3106 #063031 #1C0631
split-complementary
#310706 #06311C #061A31
monochromatic
#1B0403 #1B0403 #310706 #680F0D #9E1713

Accessibility & contrast

On white

18.05
#310706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310706
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310706#FFFFFF#000000##FFFFFF
##3107061.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310706;
/* rgb */ color: rgb(49, 7, 6);
/* oklch */ color: oklch(21.0% 0.068 26.7);
Tailwind
colors: {
  custom: {
    50: '#6d4a49',
    500: '#310706',
    950: '#000000',
  },
}
SCSS
$custom: #310706;
$custom-light: #6d4a49;
$custom-dark: #000000;
JSON
{
  "hex": "#310706",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 6
  },
  "hsl": {
    "h": 1.395,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20963,
    "c": 0.06822,
    "h": 26.7
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#310706
secondary
#217072
accent
#F0F533
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310706

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

Preview Lab → · Contrast checker → · Palette generator →

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