#310406#310406

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

Color values

HEX#310406
RGBrgb(49, 4, 6)
HSLhsl(357, 85%, 10%)
HSVhsv(357, 92%, 19%)
CMYKcmyk(0%, 91.8%, 87.8%, 80.8%)
CIE-LABlab(6.80, 22.59, 8.20)
CIE-LCHlch(6.80, 24.03, 19.95°)
OKLaboklab(20.49% 0.0666 0.0291)
OKLCHoklch(20.49% 0.073 23.6)
XYZxyz(1.3431, 0.7532, 0.2469)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310406 #04312F
analogous
#31041C #310406 #311804
triadic
#310406 #063104 #040631
tetradic
#310406 #1C3104 #04312F #180431
square
#310406 #1C3104 #04312F #180431
split-complementary
#310406 #043118 #041C31
monochromatic
#1C0203 #1C0203 #310406 #6A090D #A20D14

Accessibility & contrast

On white

18.25
#310406 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310406
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310406#FFFFFF#000000##FFFFFF
##3104061.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310406;
/* rgb */ color: rgb(49, 4, 6);
/* oklch */ color: oklch(20.5% 0.073 23.6);
Tailwind
colors: {
  custom: {
    50: '#6d4849',
    500: '#310406',
    950: '#000000',
  },
}
SCSS
$custom: #310406;
$custom-light: #6d4849;
$custom-dark: #000000;
JSON
{
  "hex": "#310406",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 6
  },
  "hsl": {
    "h": 357.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20489,
    "c": 0.07265,
    "h": 23.6
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#310406
secondary
#1D7370
accent
#FBF22D
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310406

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

Preview Lab → · Contrast checker → · Palette generator →

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