#310405#310405

#310405 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.5% C 0.073 H 25.1°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#310405
RGBrgb(49, 4, 5)
HSLhsl(359, 85%, 10%)
HSVhsv(359, 92%, 19%)
CMYKcmyk(0%, 91.8%, 89.8%, 80.8%)
CIE-LABlab(6.78, 22.51, 8.58)
CIE-LCHlch(6.78, 24.09, 20.86°)
OKLaboklab(20.47% 0.066 0.0309)
OKLCHoklch(20.47% 0.073 25.1)
XYZxyz(1.3376, 0.7510, 0.2181)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310405 #043130
analogous
#31041B #310405 #311904
triadic
#310405 #053104 #040531
tetradic
#310405 #1B3104 #043130 #190431
square
#310405 #1B3104 #043130 #190431
split-complementary
#310405 #043119 #041B31
monochromatic
#1C0203 #1C0203 #310405 #6A090B #A20D11

Accessibility & contrast

On white

18.26
#310405 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310405
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310405#FFFFFF#000000##FFFFFF
##3104051.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310405;
/* rgb */ color: rgb(49, 4, 5);
/* oklch */ color: oklch(20.5% 0.073 25.1);
Tailwind
colors: {
  custom: {
    50: '#6d4849',
    500: '#310405',
    950: '#000000',
  },
}
SCSS
$custom: #310405;
$custom-light: #6d4849;
$custom-dark: #000000;
JSON
{
  "hex": "#310405",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 5
  },
  "hsl": {
    "h": 358.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20466,
    "c": 0.07282,
    "h": 25.1
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#310405
secondary
#1D7372
accent
#FBF72D
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310405

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

Preview Lab → · Contrast checker → · Palette generator →

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