#310A13#310A13

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

Color values

HEX#310A13
RGBrgb(49, 10, 19)
HSLhsl(346, 66%, 12%)
HSVhsv(346, 80%, 19%)
CMYKcmyk(0%, 79.6%, 61.2%, 80.8%)
CIE-LABlab(8.28, 20.55, 4.06)
CIE-LCHlch(8.28, 20.95, 11.18°)
OKLaboklab(21.74% 0.0623 0.0113)
OKLCHoklch(21.74% 0.063 10.3)
XYZxyz(1.4928, 0.9173, 0.7144)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A13 #0A3128
analogous
#310A27 #310A13 #31150A
triadic
#310A13 #13310A #0A1331
tetradic
#310A13 #27310A #0A3128 #150A31
square
#310A13 #27310A #0A3128 #150A31
split-complementary
#310A13 #0A3115 #0A2731
monochromatic
#19050A #19050A #310A13 #641427 #971F3A

Accessibility & contrast

On white

17.75
#310A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A13
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A13#FFFFFF#000000##FFFFFF
##310A131.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131313
Deuteranopia (green-blind)
#1D1B12
Tritanopia (blue-blind)
#36050E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a13;
/* rgb */ color: rgb(49, 10, 19);
/* oklch */ color: oklch(21.7% 0.063 10.3);
Tailwind
colors: {
  custom: {
    50: '#6c4c50',
    500: '#310a13',
    950: '#000000',
  },
}
SCSS
$custom: #310a13;
$custom-light: #6c4c50;
$custom-dark: #000000;
JSON
{
  "hex": "#310a13",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 19
  },
  "hsl": {
    "h": 346.154,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2174,
    "c": 0.06334,
    "h": 10.3
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#310A13
secondary
#296E5E
accent
#E9C23F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310A13

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

Preview Lab → · Contrast checker → · Palette generator →

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