#310F0A#310F0A

#310F0A is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.3% C 0.057 H 30.6°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#310F0A
RGBrgb(49, 15, 10)
HSLhsl(8, 66%, 12%)
HSVhsv(8, 80%, 19%)
CMYKcmyk(0%, 69.4%, 79.6%, 80.8%)
CIE-LABlab(9.13, 16.89, 9.95)
CIE-LCHlch(9.13, 19.60, 30.51°)
OKLaboklab(22.31% 0.0489 0.0289)
OKLCHoklch(22.31% 0.057 30.6)
XYZxyz(1.4924, 1.0167, 0.4048)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F0A #0A2C31
analogous
#310A19 #310F0A #31230A
triadic
#310F0A #0A310F #0F0A31
tetradic
#310F0A #19310A #0A2C31 #230A31
square
#310F0A #19310A #0A2C31 #230A31
split-complementary
#310F0A #0A3123 #0A1931
monochromatic
#190805 #190805 #310F0A #641F14 #972E1F

Accessibility & contrast

On white

17.45
#310F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F0A
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F0A#FFFFFF#000000##FFFFFF
##310F0A1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181509
Deuteranopia (green-blind)
#201D09
Tritanopia (blue-blind)
#37080E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f0a;
/* rgb */ color: rgb(49, 15, 10);
/* oklch */ color: oklch(22.3% 0.057 30.6);
Tailwind
colors: {
  custom: {
    50: '#6c4f4b',
    500: '#310f0a',
    950: '#000000',
  },
}
SCSS
$custom: #310f0a;
$custom-light: #6c4f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#310f0a",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 10
  },
  "hsl": {
    "h": 7.692,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22307,
    "c": 0.05679,
    "h": 30.6
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#310F0A
secondary
#29656E
accent
#D3E93F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #310F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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