#310A06#310A06

#310A06 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.4% C 0.064 H 30.0°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#310A06
RGBrgb(49, 10, 6)
HSLhsl(6, 78%, 11%)
HSVhsv(6, 88%, 19%)
CMYKcmyk(0%, 79.6%, 87.8%, 80.8%)
CIE-LABlab(7.98, 19.44, 9.92)
CIE-LCHlch(7.98, 21.83, 27.02°)
OKLaboklab(21.42% 0.0558 0.0321)
OKLCHoklch(21.42% 0.064 30)
XYZxyz(1.4082, 0.8834, 0.2686)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A06 #062D31
analogous
#310617 #310A06 #311F06
triadic
#310A06 #06310A #0A0631
tetradic
#310A06 #173106 #062D31 #1F0631
square
#310A06 #173106 #062D31 #1F0631
split-complementary
#310A06 #06311F #061731
monochromatic
#1B0603 #1B0603 #310A06 #68150D #9E2013

Accessibility & contrast

On white

17.85
#310A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A06
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A06#FFFFFF#000000##FFFFFF
##310A061.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151205
Deuteranopia (green-blind)
#1F1B05
Tritanopia (blue-blind)
#370209
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310a06;
/* rgb */ color: rgb(49, 10, 6);
/* oklch */ color: oklch(21.4% 0.064 30.0);
Tailwind
colors: {
  custom: {
    50: '#6c4b49',
    500: '#310a06',
    950: '#000000',
  },
}
SCSS
$custom: #310a06;
$custom-light: #6c4b49;
$custom-dark: #000000;
JSON
{
  "hex": "#310a06",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 6
  },
  "hsl": {
    "h": 5.581,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21416,
    "c": 0.06435,
    "h": 30
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#310A06
secondary
#216A72
accent
#E3F533
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310A06

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

Preview Lab → · Contrast checker → · Palette generator →

#310A06 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva