#310D05#310D05

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

Color values

HEX#310D05
RGBrgb(49, 13, 5)
HSLhsl(11, 81%, 11%)
HSVhsv(11, 90%, 19%)
CMYKcmyk(0%, 73.5%, 89.8%, 80.8%)
CIE-LABlab(8.59, 17.70, 11.20)
CIE-LCHlch(8.59, 20.95, 32.34°)
OKLaboklab(21.87% 0.05 0.0352)
OKLCHoklch(21.87% 0.061 35.2)
XYZxyz(1.4381, 0.9520, 0.2516)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D05 #052931
analogous
#310513 #310D05 #312305
triadic
#310D05 #05310D #0D0531
tetradic
#310D05 #133105 #052931 #230531
square
#310D05 #133105 #052931 #230531
split-complementary
#310D05 #053123 #051331
monochromatic
#1C0703 #1C0703 #310D05 #691C0B #A02A10

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##310D05#FFFFFF#000000##FFFFFF
##310D051.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)
#171404
Deuteranopia (green-blind)
#201C04
Tritanopia (blue-blind)
#37050B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310d05;
/* rgb */ color: rgb(49, 13, 5);
/* oklch */ color: oklch(21.9% 0.061 35.2);
Tailwind
colors: {
  custom: {
    50: '#6c4d49',
    500: '#310d05',
    950: '#000000',
  },
}
SCSS
$custom: #310d05;
$custom-light: #6c4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#310d05",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 5
  },
  "hsl": {
    "h": 10.909,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21865,
    "c": 0.06114,
    "h": 35.2
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#310D05
secondary
#1F6372
accent
#D4F830
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310D05

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

Preview Lab → · Contrast checker → · Palette generator →

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