#310D06#310D06

#310D06 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 21.9% C 0.061 H 33.6°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#310D06
RGBrgb(49, 13, 6)
HSLhsl(10, 78%, 11%)
HSVhsv(10, 88%, 19%)
CMYKcmyk(0%, 73.5%, 87.8%, 80.8%)
CIE-LABlab(8.60, 17.77, 10.82)
CIE-LCHlch(8.60, 20.81, 31.34°)
OKLaboklab(21.89% 0.0506 0.0336)
OKLCHoklch(21.89% 0.061 33.6)
XYZxyz(1.4436, 0.9542, 0.2804)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D06 #062A31
analogous
#310614 #310D06 #312206
triadic
#310D06 #06310D #0D0631
tetradic
#310D06 #143106 #062A31 #220631
square
#310D06 #143106 #062A31 #220631
split-complementary
#310D06 #063122 #061431
monochromatic
#1B0703 #1B0703 #310D06 #681B0D #9E2A13

Accessibility & contrast

On white

17.64
#310D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310D06
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D06#FFFFFF#000000##FFFFFF
##310D061.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171405
Deuteranopia (green-blind)
#201C05
Tritanopia (blue-blind)
#37050B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310d06;
/* rgb */ color: rgb(49, 13, 6);
/* oklch */ color: oklch(21.9% 0.061 33.6);
Tailwind
colors: {
  custom: {
    50: '#6c4d49',
    500: '#310d06',
    950: '#000000',
  },
}
SCSS
$custom: #310d06;
$custom-light: #6c4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#310d06",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 6
  },
  "hsl": {
    "h": 9.767,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21885,
    "c": 0.0607,
    "h": 33.6
  },
  "luminance": 0.00954
}

Semantic roles & 50–950 ramp

primary
#310D06
secondary
#216472
accent
#D5F533
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310D06

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

Preview Lab → · Contrast checker → · Palette generator →

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