#310606#310606

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

Color values

HEX#310606
RGBrgb(49, 6, 6)
HSLhsl(0, 78%, 11%)
HSVhsv(0, 88%, 19%)
CMYKcmyk(0%, 87.8%, 87.8%, 80.8%)
CIE-LABlab(7.20, 21.55, 8.77)
CIE-LCHlch(7.20, 23.26, 22.15°)
OKLaboklab(20.81% 0.0628 0.0302)
OKLCHoklch(20.81% 0.07 25.7)
XYZxyz(1.3648, 0.7966, 0.2542)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310606 #063131
analogous
#31061B #310606 #311B06
triadic
#310606 #063106 #060631
tetradic
#310606 #1B3106 #063131 #1B0631
square
#310606 #1B3106 #063131 #1B0631
split-complementary
#310606 #06311B #061B31
monochromatic
#1B0303 #1B0303 #310606 #680D0D #9E1313

Accessibility & contrast

On white

18.12
#310606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310606
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310606#FFFFFF#000000##FFFFFF
##3106061.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121006
Deuteranopia (green-blind)
#1D1905
Tritanopia (blue-blind)
#370006
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310606;
/* rgb */ color: rgb(49, 6, 6);
/* oklch */ color: oklch(20.8% 0.070 25.7);
Tailwind
colors: {
  custom: {
    50: '#6d4949',
    500: '#310606',
    950: '#000000',
  },
}
SCSS
$custom: #310606;
$custom-light: #6d4949;
$custom-dark: #000000;
JSON
{
  "hex": "#310606",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 6
  },
  "hsl": {
    "h": 0,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20808,
    "c": 0.06963,
    "h": 25.7
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#310606
secondary
#217272
accent
#F5F533
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310606

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

Preview Lab → · Contrast checker → · Palette generator →

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