#310B0F#310B0F

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

Color values

HEX#310B0F
RGBrgb(49, 11, 15)
HSLhsl(354, 63%, 12%)
HSVhsv(354, 78%, 19%)
CMYKcmyk(0%, 77.6%, 69.4%, 80.8%)
CIE-LABlab(8.37, 19.62, 6.51)
CIE-LCHlch(8.37, 20.67, 18.37°)
OKLaboklab(21.77% 0.0587 0.0188)
OKLCHoklch(21.77% 0.062 17.7)
XYZxyz(1.4727, 0.9270, 0.5532)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B0F #0B312D
analogous
#310B22 #310B0F #311A0B
triadic
#310B0F #0F310B #0B0F31
tetradic
#310B0F #22310B #0B312D #1A0B31
square
#310B0F #22310B #0B312D #1A0B31
split-complementary
#310B0F #0B311A #0B2231
monochromatic
#190608 #190608 #310B0F #63161E #95212E

Accessibility & contrast

On white

17.72
#310B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B0F
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B0F#FFFFFF#000000##FFFFFF
##310B0F1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14130F
Deuteranopia (green-blind)
#1E1B0E
Tritanopia (blue-blind)
#36050D
Achromatopsia (no color)
#181818

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#310B0F
secondary
#2A6E66
accent
#E6D541
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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