#310B10#310B10

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

Color values

HEX#310B10
RGBrgb(49, 11, 16)
HSLhsl(352, 63%, 12%)
HSVhsv(352, 78%, 19%)
CMYKcmyk(0%, 77.6%, 67.3%, 80.8%)
CIE-LABlab(8.39, 19.71, 6.01)
CIE-LCHlch(8.39, 20.61, 16.95°)
OKLaboklab(21.8% 0.0592 0.0171)
OKLCHoklch(21.8% 0.062 16.1)
XYZxyz(1.4800, 0.9299, 0.5917)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B10 #0B312C
analogous
#310B23 #310B10 #31190B
triadic
#310B10 #10310B #0B1031
tetradic
#310B10 #23310B #0B312C #190B31
square
#310B10 #23310B #0B312C #190B31
split-complementary
#310B10 #0B3119 #0B2331
monochromatic
#190608 #190608 #310B10 #631620 #952131

Accessibility & contrast

On white

17.71
#310B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B10
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B10#FFFFFF#000000##FFFFFF
##310B101.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141310
Deuteranopia (green-blind)
#1E1B0F
Tritanopia (blue-blind)
#36050D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b10;
/* rgb */ color: rgb(49, 11, 16);
/* oklch */ color: oklch(21.8% 0.062 16.1);
Tailwind
colors: {
  custom: {
    50: '#6c4c4e',
    500: '#310b10',
    950: '#000000',
  },
}
SCSS
$custom: #310b10;
$custom-light: #6c4c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#310b10",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 16
  },
  "hsl": {
    "h": 352.105,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21795,
    "c": 0.06158,
    "h": 16.1
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#310B10
secondary
#2A6E65
accent
#E6D141
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310B10

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

Preview Lab → · Contrast checker → · Palette generator →

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