#310903#310903

#310903 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.2% C 0.067 H 33.5°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#310903
RGBrgb(49, 9, 3)
HSLhsl(8, 88%, 10%)
HSVhsv(8, 94%, 19%)
CMYKcmyk(0%, 81.6%, 93.9%, 80.8%)
CIE-LABlab(7.72, 19.75, 10.76)
CIE-LCHlch(7.72, 22.49, 28.60°)
OKLaboklab(21.2% 0.0556 0.0368)
OKLCHoklch(21.2% 0.067 33.5)
XYZxyz(1.3809, 0.8551, 0.1785)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310903 #032B31
analogous
#310314 #310903 #312003
triadic
#310903 #033109 #090331
tetradic
#310903 #143103 #032B31 #200331
square
#310903 #143103 #032B31 #200331
split-complementary
#310903 #033120 #031431
monochromatic
#1D0502 #1D0502 #310903 #6B1407 #A41E0A

Accessibility & contrast

On white

17.93
#310903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310903
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310903#FFFFFF#000000##FFFFFF
##3109031.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151102
Deuteranopia (green-blind)
#1F1A02
Tritanopia (blue-blind)
#370108
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310903;
/* rgb */ color: rgb(49, 9, 3);
/* oklch */ color: oklch(21.2% 0.067 33.5);
Tailwind
colors: {
  custom: {
    50: '#6d4b48',
    500: '#310903',
    950: '#000000',
  },
}
SCSS
$custom: #310903;
$custom-light: #6d4b48;
$custom-dark: #000000;
JSON
{
  "hex": "#310903",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 3
  },
  "hsl": {
    "h": 7.826,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21203,
    "c": 0.06667,
    "h": 33.5
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#310903
secondary
#1B6974
accent
#E3FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310903

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

Preview Lab → · Contrast checker → · Palette generator →

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