#310403#310403

#310403 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.4% C 0.073 H 28.2°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#310403
RGBrgb(49, 4, 3)
HSLhsl(1, 88%, 10%)
HSVhsv(1, 94%, 19%)
CMYKcmyk(0%, 91.8%, 93.9%, 80.8%)
CIE-LABlab(6.74, 22.35, 9.33)
CIE-LCHlch(6.74, 24.22, 22.67°)
OKLaboklab(20.42% 0.0646 0.0347)
OKLCHoklch(20.42% 0.073 28.2)
XYZxyz(1.3266, 0.7466, 0.1604)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310403 #033031
analogous
#310319 #310403 #311B03
triadic
#310403 #033104 #040331
tetradic
#310403 #193103 #033031 #1B0331
square
#310403 #193103 #033031 #1B0331
split-complementary
#310403 #03311B #031931
monochromatic
#1D0202 #1D0202 #310403 #6B0907 #A40D0A

Accessibility & contrast

On white

18.27
#310403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#310403 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310403
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310403#FFFFFF#000000##FFFFFF
##3104031.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110E03
Deuteranopia (green-blind)
#1D1902
Tritanopia (blue-blind)
#370004
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310403;
/* rgb */ color: rgb(49, 4, 3);
/* oklch */ color: oklch(20.4% 0.073 28.2);
Tailwind
colors: {
  custom: {
    50: '#6d4848',
    500: '#310403',
    950: '#000000',
  },
}
SCSS
$custom: #310403;
$custom-light: #6d4848;
$custom-dark: #000000;
JSON
{
  "hex": "#310403",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 3
  },
  "hsl": {
    "h": 1.304,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20419,
    "c": 0.07332,
    "h": 28.2
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#310403
secondary
#1B7274
accent
#FAFF29
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310403

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

Preview Lab → · Contrast checker → · Palette generator →

#310403 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva