#310C05#310C05

#310C05 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.7% C 0.062 H 33.9°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#310C05
RGBrgb(49, 12, 5)
HSLhsl(10, 81%, 11%)
HSVhsv(10, 90%, 19%)
CMYKcmyk(0%, 75.5%, 89.8%, 80.8%)
CIE-LABlab(8.37, 18.27, 10.89)
CIE-LCHlch(8.37, 21.27, 30.80°)
OKLaboklab(21.7% 0.0518 0.0347)
OKLCHoklch(21.7% 0.062 33.9)
XYZxyz(1.4256, 0.9271, 0.2474)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C05 #052A31
analogous
#310514 #310C05 #312205
triadic
#310C05 #05310C #0C0531
tetradic
#310C05 #143105 #052A31 #220531
square
#310C05 #143105 #052A31 #220531
split-complementary
#310C05 #053122 #051431
monochromatic
#1C0703 #1C0703 #310C05 #691A0B #A02710

Accessibility & contrast

On white

17.72
#310C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310C05
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C05#FFFFFF#000000##FFFFFF
##310C051.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161304
Deuteranopia (green-blind)
#201B04
Tritanopia (blue-blind)
#37040A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310c05;
/* rgb */ color: rgb(49, 12, 5);
/* oklch */ color: oklch(21.7% 0.062 33.9);
Tailwind
colors: {
  custom: {
    50: '#6c4d49',
    500: '#310c05',
    950: '#000000',
  },
}
SCSS
$custom: #310c05;
$custom-light: #6c4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#310c05",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 5
  },
  "hsl": {
    "h": 9.545,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21702,
    "c": 0.06233,
    "h": 33.9
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#310C05
secondary
#1F6572
accent
#D8F830
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310C05

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

Preview Lab → · Contrast checker → · Palette generator →

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