#310B03#310B03

#310B03 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.5% C 0.064 H 35.8°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#310B03
RGBrgb(49, 11, 3)
HSLhsl(10, 88%, 10%)
HSVhsv(10, 94%, 19%)
CMYKcmyk(0%, 77.6%, 93.9%, 80.8%)
CIE-LABlab(8.12, 18.68, 11.34)
CIE-LCHlch(8.12, 21.85, 31.27°)
OKLaboklab(21.5% 0.0522 0.0377)
OKLCHoklch(21.5% 0.064 35.8)
XYZxyz(1.4029, 0.8991, 0.1858)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B03 #032931
analogous
#310312 #310B03 #312203
triadic
#310B03 #03310B #0B0331
tetradic
#310B03 #123103 #032931 #220331
square
#310B03 #123103 #032931 #220331
split-complementary
#310B03 #033122 #031231
monochromatic
#1D0602 #1D0602 #310B03 #6B1807 #A4250A

Accessibility & contrast

On white

17.80
#310B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B03
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B03#FFFFFF#000000##FFFFFF
##310B031.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161202
Deuteranopia (green-blind)
#1F1B02
Tritanopia (blue-blind)
#370309
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b03;
/* rgb */ color: rgb(49, 11, 3);
/* oklch */ color: oklch(21.5% 0.064 35.8);
Tailwind
colors: {
  custom: {
    50: '#6c4c48',
    500: '#310b03',
    950: '#000000',
  },
}
SCSS
$custom: #310b03;
$custom-light: #6c4c48;
$custom-dark: #000000;
JSON
{
  "hex": "#310b03",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 3
  },
  "hsl": {
    "h": 10.435,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21503,
    "c": 0.06441,
    "h": 35.8
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#310B03
secondary
#1B6574
accent
#D9FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310B03

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

Preview Lab → · Contrast checker → · Palette generator →

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