#310F05#310F05

#310F05 is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.2% C 0.059 H 38.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#310F05
RGBrgb(49, 15, 5)
HSLhsl(14, 81%, 11%)
HSVhsv(14, 90%, 19%)
CMYKcmyk(0%, 69.4%, 89.8%, 80.8%)
CIE-LABlab(9.04, 16.50, 11.86)
CIE-LCHlch(9.04, 20.32, 35.70°)
OKLaboklab(22.21% 0.0463 0.0362)
OKLCHoklch(22.21% 0.059 38)
XYZxyz(1.4650, 1.0058, 0.2605)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F05 #052731
analogous
#310511 #310F05 #312505
triadic
#310F05 #05310F #0F0531
tetradic
#310F05 #113105 #052731 #250531
square
#310F05 #113105 #052731 #250531
split-complementary
#310F05 #053125 #051131
monochromatic
#1C0803 #1C0803 #310F05 #69200B #A03110

Accessibility & contrast

On white

17.48
#310F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310F05
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F05#FFFFFF#000000##FFFFFF
##310F051.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181504
Deuteranopia (green-blind)
#211C04
Tritanopia (blue-blind)
#37070D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f05;
/* rgb */ color: rgb(49, 15, 5);
/* oklch */ color: oklch(22.2% 0.059 38.0);
Tailwind
colors: {
  custom: {
    50: '#6c4e49',
    500: '#310f05',
    950: '#000000',
  },
}
SCSS
$custom: #310f05;
$custom-light: #6c4e49;
$custom-dark: #000000;
JSON
{
  "hex": "#310f05",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 5
  },
  "hsl": {
    "h": 13.636,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22209,
    "c": 0.05879,
    "h": 38
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#310F05
secondary
#1F6072
accent
#CAF830
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070200
muted
#7A7877

Preview Lab

Preview with #310F05

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

Preview Lab → · Contrast checker → · Palette generator →

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