#310505#310505

#310505 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.6% C 0.071 H 26.1°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#310505
RGBrgb(49, 5, 5)
HSLhsl(0, 81%, 11%)
HSVhsv(0, 90%, 19%)
CMYKcmyk(0%, 89.8%, 89.8%, 80.8%)
CIE-LABlab(6.98, 21.99, 8.86)
CIE-LCHlch(6.98, 23.71, 21.95°)
OKLaboklab(20.63% 0.064 0.0314)
OKLCHoklch(20.63% 0.071 26.1)
XYZxyz(1.3484, 0.7727, 0.2217)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310505 #053131
analogous
#31051B #310505 #311B05
triadic
#310505 #053105 #050531
tetradic
#310505 #1B3105 #053131 #1B0531
square
#310505 #1B3105 #053131 #1B0531
split-complementary
#310505 #05311B #051B31
monochromatic
#1C0303 #1C0303 #310505 #690B0B #A01010

Accessibility & contrast

On white

18.19
#310505 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310505
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310505#FFFFFF#000000##FFFFFF
##3105051.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F05
Deuteranopia (green-blind)
#1D1904
Tritanopia (blue-blind)
#370005
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310505;
/* rgb */ color: rgb(49, 5, 5);
/* oklch */ color: oklch(20.6% 0.071 26.1);
Tailwind
colors: {
  custom: {
    50: '#6d4949',
    500: '#310505',
    950: '#000000',
  },
}
SCSS
$custom: #310505;
$custom-light: #6d4949;
$custom-dark: #000000;
JSON
{
  "hex": "#310505",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 5
  },
  "hsl": {
    "h": 0,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20627,
    "c": 0.07131,
    "h": 26.1
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#310505
secondary
#1F7272
accent
#F8F830
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310505

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

Preview Lab → · Contrast checker → · Palette generator →

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