#310B02#310B02

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

Color values

HEX#310B02
RGBrgb(49, 11, 2)
HSLhsl(11, 92%, 10%)
HSVhsv(11, 96%, 19%)
CMYKcmyk(0%, 77.6%, 95.9%, 80.8%)
CIE-LABlab(8.10, 18.60, 11.72)
CIE-LCHlch(8.10, 21.99, 32.21°)
OKLaboklab(21.48% 0.0516 0.0395)
OKLCHoklch(21.48% 0.065 37.4)
XYZxyz(1.3974, 0.8969, 0.1570)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B02 #022831
analogous
#310211 #310B02 #312202
triadic
#310B02 #02310B #0B0231
tetradic
#310B02 #113102 #022831 #220231
square
#310B02 #113102 #022831 #220231
split-complementary
#310B02 #023122 #021131
monochromatic
#1D0701 #1D0701 #310B02 #6C1804 #A72507

Accessibility & contrast

On white

17.81
#310B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B02
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B02#FFFFFF#000000##FFFFFF
##310B021.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310b02;
/* rgb */ color: rgb(49, 11, 2);
/* oklch */ color: oklch(21.5% 0.065 37.4);
Tailwind
colors: {
  custom: {
    50: '#6c4c47',
    500: '#310b02',
    950: '#000000',
  },
}
SCSS
$custom: #310b02;
$custom-light: #6c4c47;
$custom-dark: #000000;
JSON
{
  "hex": "#310b02",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 2
  },
  "hsl": {
    "h": 11.489,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.21482,
    "c": 0.06493,
    "h": 37.4
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#310B02
secondary
#196475
accent
#D6FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310B02

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

Preview Lab → · Contrast checker → · Palette generator →

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