#310602#310602

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

Color values

HEX#310602
RGBrgb(49, 6, 2)
HSLhsl(5, 92%, 10%)
HSVhsv(5, 96%, 19%)
CMYKcmyk(0%, 87.8%, 95.9%, 80.8%)
CIE-LABlab(7.12, 21.24, 10.28)
CIE-LCHlch(7.12, 23.60, 25.84°)
OKLaboklab(20.72% 0.0601 0.0375)
OKLCHoklch(20.72% 0.071 31.9)
XYZxyz(1.3429, 0.7878, 0.1388)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310602 #022D31
analogous
#310216 #310602 #311D02
triadic
#310602 #023106 #060231
tetradic
#310602 #163102 #022D31 #1D0231
square
#310602 #163102 #022D31 #1D0231
split-complementary
#310602 #02311D #021631
monochromatic
#1D0401 #1D0401 #310602 #6C0D04 #A71407

Accessibility & contrast

On white

18.14
#310602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310602
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310602#FFFFFF#000000##FFFFFF
##3106021.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131001
Deuteranopia (green-blind)
#1E1901
Tritanopia (blue-blind)
#370005
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310602;
/* rgb */ color: rgb(49, 6, 2);
/* oklch */ color: oklch(20.7% 0.071 31.9);
Tailwind
colors: {
  custom: {
    50: '#6d4947',
    500: '#310602',
    950: '#000000',
  },
}
SCSS
$custom: #310602;
$custom-light: #6d4947;
$custom-dark: #000000;
JSON
{
  "hex": "#310602",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 2
  },
  "hsl": {
    "h": 5.106,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20717,
    "c": 0.07087,
    "h": 31.9
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#310602
secondary
#196E75
accent
#EDFF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310602

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

Preview Lab → · Contrast checker → · Palette generator →

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