#310902#310902

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

Color values

HEX#310902
RGBrgb(49, 9, 2)
HSLhsl(9, 92%, 10%)
HSVhsv(9, 96%, 19%)
CMYKcmyk(0%, 81.6%, 95.9%, 80.8%)
CIE-LABlab(7.70, 19.67, 11.14)
CIE-LCHlch(7.70, 22.61, 29.53°)
OKLaboklab(21.18% 0.0549 0.0387)
OKLCHoklch(21.18% 0.067 35.2)
XYZxyz(1.3754, 0.8529, 0.1496)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310902 #022A31
analogous
#310213 #310902 #312002
triadic
#310902 #023109 #090231
tetradic
#310902 #133102 #022A31 #200231
square
#310902 #133102 #022A31 #200231
split-complementary
#310902 #023120 #021331
monochromatic
#1D0501 #1D0501 #310902 #6C1404 #A71F07

Accessibility & contrast

On white

17.94
#310902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310902
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310902#FFFFFF#000000##FFFFFF
##3109021.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151101
Deuteranopia (green-blind)
#1F1A01
Tritanopia (blue-blind)
#370107
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310902;
/* rgb */ color: rgb(49, 9, 2);
/* oklch */ color: oklch(21.2% 0.067 35.2);
Tailwind
colors: {
  custom: {
    50: '#6d4b47',
    500: '#310902',
    950: '#000000',
  },
}
SCSS
$custom: #310902;
$custom-light: #6d4b47;
$custom-dark: #000000;
JSON
{
  "hex": "#310902",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 2
  },
  "hsl": {
    "h": 8.936,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.21181,
    "c": 0.06715,
    "h": 35.2
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#310902
secondary
#196875
accent
#DFFF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310902

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

Preview Lab → · Contrast checker → · Palette generator →

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