#310E04#310E04

#310E04 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.0% C 0.060 H 38.1°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#310E04
RGBrgb(49, 14, 4)
HSLhsl(13, 85%, 10%)
HSVhsv(13, 92%, 19%)
CMYKcmyk(0%, 71.4%, 91.8%, 80.8%)
CIE-LABlab(8.79, 17.03, 11.91)
CIE-LCHlch(8.79, 20.78, 34.96°)
OKLaboklab(22.01% 0.0476 0.0373)
OKLCHoklch(22.01% 0.06 38.1)
XYZxyz(1.4457, 0.9760, 0.2271)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E04 #042731
analogous
#310410 #310E04 #312404
triadic
#310E04 #04310E #0E0431
tetradic
#310E04 #103104 #042731 #240431
square
#310E04 #103104 #042731 #240431
split-complementary
#310E04 #043124 #041031
monochromatic
#1C0802 #1C0802 #310E04 #6A1E09 #A22E0D

Accessibility & contrast

On white

17.57
#310E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E04
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E04#FFFFFF#000000##FFFFFF
##310E041.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181403
Deuteranopia (green-blind)
#201C03
Tritanopia (blue-blind)
#37060C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310e04;
/* rgb */ color: rgb(49, 14, 4);
/* oklch */ color: oklch(22.0% 0.060 38.1);
Tailwind
colors: {
  custom: {
    50: '#6c4e48',
    500: '#310e04',
    950: '#000000',
  },
}
SCSS
$custom: #310e04;
$custom-light: #6c4e48;
$custom-dark: #000000;
JSON
{
  "hex": "#310e04",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 4
  },
  "hsl": {
    "h": 13.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22014,
    "c": 0.06047,
    "h": 38.1
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#310E04
secondary
#1D6073
accent
#CDFB2D
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310E04

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

Preview Lab → · Contrast checker → · Palette generator →

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