#310B14#310B14

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

Color values

HEX#310B14
RGBrgb(49, 11, 20)
HSLhsl(346, 63%, 12%)
HSVhsv(346, 78%, 19%)
CMYKcmyk(0%, 77.6%, 59.2%, 80.8%)
CIE-LABlab(8.51, 20.13, 3.74)
CIE-LCHlch(8.51, 20.48, 10.52°)
OKLaboklab(21.92% 0.0611 0.0102)
OKLCHoklch(21.92% 0.062 9.5)
XYZxyz(1.5127, 0.9430, 0.7640)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B14 #0B3128
analogous
#310B27 #310B14 #31150B
triadic
#310B14 #14310B #0B1431
tetradic
#310B14 #27310B #0B3128 #150B31
square
#310B14 #27310B #0B3128 #150B31
split-complementary
#310B14 #0B3115 #0B2731
monochromatic
#19060A #19060A #310B14 #631628 #95213D

Accessibility & contrast

On white

17.67
#310B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B14
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B14#FFFFFF#000000##FFFFFF
##310B141.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141414
Deuteranopia (green-blind)
#1D1B13
Tritanopia (blue-blind)
#36060F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310b14;
/* rgb */ color: rgb(49, 11, 20);
/* oklch */ color: oklch(21.9% 0.062 9.5);
Tailwind
colors: {
  custom: {
    50: '#6c4c51',
    500: '#310b14',
    950: '#000000',
  },
}
SCSS
$custom: #310b14;
$custom-light: #6c4c51;
$custom-dark: #000000;
JSON
{
  "hex": "#310b14",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 20
  },
  "hsl": {
    "h": 345.789,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21917,
    "c": 0.06198,
    "h": 9.5
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#310B14
secondary
#2A6E5E
accent
#E6BF41
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310B14

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

Preview Lab → · Contrast checker → · Palette generator →

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