#310D02#310D02

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

Color values

HEX#310D02
RGBrgb(49, 13, 2)
HSLhsl(14, 92%, 10%)
HSVhsv(14, 96%, 19%)
CMYKcmyk(0%, 73.5%, 95.9%, 80.8%)
CIE-LABlab(8.53, 17.47, 12.34)
CIE-LCHlch(8.53, 21.39, 35.24°)
OKLaboklab(21.8% 0.0481 0.0403)
OKLCHoklch(21.8% 0.063 40)
XYZxyz(1.4217, 0.9454, 0.1650)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D02 #022631
analogous
#31020E #310D02 #312502
triadic
#310D02 #02310D #0D0231
tetradic
#310D02 #0E3102 #022631 #250231
square
#310D02 #0E3102 #022631 #250231
split-complementary
#310D02 #023125 #020E31
monochromatic
#1D0801 #1D0801 #310D02 #6C1D04 #A72C07

Accessibility & contrast

On white

17.66
#310D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D02
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D02#FFFFFF#000000##FFFFFF
##310D021.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171301
Deuteranopia (green-blind)
#201C01
Tritanopia (blue-blind)
#37050A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310d02;
/* rgb */ color: rgb(49, 13, 2);
/* oklch */ color: oklch(21.8% 0.063 40.0);
Tailwind
colors: {
  custom: {
    50: '#6c4d47',
    500: '#310d02',
    950: '#000000',
  },
}
SCSS
$custom: #310d02;
$custom-light: #6c4d47;
$custom-dark: #000000;
JSON
{
  "hex": "#310d02",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 2
  },
  "hsl": {
    "h": 14.043,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.21804,
    "c": 0.06274,
    "h": 40
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#310D02
secondary
#196075
accent
#CDFF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310D02

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

Preview Lab → · Contrast checker → · Palette generator →

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