#310A05#310A05

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

Color values

HEX#310A05
RGBrgb(49, 10, 5)
HSLhsl(7, 81%, 11%)
HSVhsv(7, 90%, 19%)
CMYKcmyk(0%, 79.6%, 89.8%, 80.8%)
CIE-LABlab(7.96, 19.37, 10.29)
CIE-LCHlch(7.96, 21.93, 27.99°)
OKLaboklab(21.4% 0.0552 0.0338)
OKLCHoklch(21.4% 0.065 31.5)
XYZxyz(1.4027, 0.8812, 0.2398)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A05 #052C31
analogous
#310516 #310A05 #312005
triadic
#310A05 #05310A #0A0531
tetradic
#310A05 #163105 #052C31 #200531
square
#310A05 #163105 #052C31 #200531
split-complementary
#310A05 #053120 #051631
monochromatic
#1C0603 #1C0603 #310A05 #69150B #A02110

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##310A05#FFFFFF#000000##FFFFFF
##310A051.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)
#151204
Deuteranopia (green-blind)
#1F1B04
Tritanopia (blue-blind)
#370209
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310a05;
/* rgb */ color: rgb(49, 10, 5);
/* oklch */ color: oklch(21.4% 0.065 31.5);
Tailwind
colors: {
  custom: {
    50: '#6c4b49',
    500: '#310a05',
    950: '#000000',
  },
}
SCSS
$custom: #310a05;
$custom-light: #6c4b49;
$custom-dark: #000000;
JSON
{
  "hex": "#310a05",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 5
  },
  "hsl": {
    "h": 6.818,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21395,
    "c": 0.06469,
    "h": 31.5
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#310A05
secondary
#1F6972
accent
#E1F830
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310A05

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

Preview Lab → · Contrast checker → · Palette generator →

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