#310703#310703

#310703 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.9% C 0.069 H 31.4°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#310703
RGBrgb(49, 7, 3)
HSLhsl(5, 88%, 10%)
HSVhsv(5, 94%, 19%)
CMYKcmyk(0%, 85.7%, 93.9%, 80.8%)
CIE-LABlab(7.33, 20.79, 10.19)
CIE-LCHlch(7.33, 23.16, 26.11°)
OKLaboklab(20.9% 0.059 0.036)
OKLCHoklch(20.9% 0.069 31.4)
XYZxyz(1.3592, 0.8117, 0.1712)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310703 #032D31
analogous
#310316 #310703 #311E03
triadic
#310703 #033107 #070331
tetradic
#310703 #163103 #032D31 #1E0331
square
#310703 #163103 #032D31 #1E0331
split-complementary
#310703 #03311E #031631
monochromatic
#1D0402 #1D0402 #310703 #6B0F07 #A4170A

Accessibility & contrast

On white

18.07
#310703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310703
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310703#FFFFFF#000000##FFFFFF
##3107031.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131002
Deuteranopia (green-blind)
#1E1A02
Tritanopia (blue-blind)
#370006
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310703;
/* rgb */ color: rgb(49, 7, 3);
/* oklch */ color: oklch(20.9% 0.069 31.4);
Tailwind
colors: {
  custom: {
    50: '#6d4a48',
    500: '#310703',
    950: '#000000',
  },
}
SCSS
$custom: #310703;
$custom-light: #6d4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#310703",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 3
  },
  "hsl": {
    "h": 5.217,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20897,
    "c": 0.06915,
    "h": 31.4
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#310703
secondary
#1B6D74
accent
#ECFF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310703

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

Preview Lab → · Contrast checker → · Palette generator →

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