#310D03#310D03

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

Color values

HEX#310D03
RGBrgb(49, 13, 3)
HSLhsl(13, 88%, 10%)
HSVhsv(13, 94%, 19%)
CMYKcmyk(0%, 73.5%, 93.9%, 80.8%)
CIE-LABlab(8.55, 17.54, 11.96)
CIE-LCHlch(8.55, 21.23, 34.29°)
OKLaboklab(21.83% 0.0488 0.0385)
OKLCHoklch(21.83% 0.062 38.3)
XYZxyz(1.4271, 0.9476, 0.1939)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D03 #032731
analogous
#310310 #310D03 #312403
triadic
#310D03 #03310D #0D0331
tetradic
#310D03 #103103 #032731 #240331
square
#310D03 #103103 #032731 #240331
split-complementary
#310D03 #033124 #031031
monochromatic
#1D0802 #1D0802 #310D03 #6B1C07 #A42C0A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##310D03#FFFFFF#000000##FFFFFF
##310D031.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)
#171402
Deuteranopia (green-blind)
#201C02
Tritanopia (blue-blind)
#37050B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310d03;
/* rgb */ color: rgb(49, 13, 3);
/* oklch */ color: oklch(21.8% 0.062 38.3);
Tailwind
colors: {
  custom: {
    50: '#6c4d48',
    500: '#310d03',
    950: '#000000',
  },
}
SCSS
$custom: #310d03;
$custom-light: #6c4d48;
$custom-dark: #000000;
JSON
{
  "hex": "#310d03",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 3
  },
  "hsl": {
    "h": 13.043,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21825,
    "c": 0.06214,
    "h": 38.3
  },
  "luminance": 0.00947
}

Semantic roles & 50–950 ramp

primary
#310D03
secondary
#1B6174
accent
#D0FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310D03

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

Preview Lab → · Contrast checker → · Palette generator →

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