#310306#310306

#310306 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.3% C 0.074 H 22.6°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#310306
RGBrgb(49, 3, 6)
HSLhsl(356, 88%, 10%)
HSVhsv(356, 94%, 19%)
CMYKcmyk(0%, 93.9%, 87.8%, 80.8%)
CIE-LABlab(6.61, 23.11, 7.91)
CIE-LCHlch(6.61, 24.42, 18.90°)
OKLaboklab(20.33% 0.0686 0.0285)
OKLCHoklch(20.33% 0.074 22.6)
XYZxyz(1.3322, 0.7315, 0.2433)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310306 #03312E
analogous
#31031D #310306 #311703
triadic
#310306 #063103 #030631
tetradic
#310306 #1D3103 #03312E #170331
square
#310306 #1D3103 #03312E #170331
split-complementary
#310306 #033117 #031D31
monochromatic
#1D0204 #1D0204 #310306 #6B070D #A40A14

Accessibility & contrast

On white

18.32
#310306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310306
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310306#FFFFFF#000000##FFFFFF
##3103061.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100E06
Deuteranopia (green-blind)
#1C1805
Tritanopia (blue-blind)
#370004
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310306;
/* rgb */ color: rgb(49, 3, 6);
/* oklch */ color: oklch(20.3% 0.074 22.6);
Tailwind
colors: {
  custom: {
    50: '#6d4849',
    500: '#310306',
    950: '#000000',
  },
}
SCSS
$custom: #310306;
$custom-light: #6d4849;
$custom-dark: #000000;
JSON
{
  "hex": "#310306",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 6
  },
  "hsl": {
    "h": 356.087,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20326,
    "c": 0.07426,
    "h": 22.6
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#310306
secondary
#1B746F
accent
#FFF129
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #310306

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

Preview Lab → · Contrast checker → · Palette generator →

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