#310702#310702

#310702 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.9% C 0.070 H 33.0°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#310702
RGBrgb(49, 7, 2)
HSLhsl(6, 92%, 10%)
HSVhsv(6, 96%, 19%)
CMYKcmyk(0%, 85.7%, 95.9%, 80.8%)
CIE-LABlab(7.31, 20.72, 10.57)
CIE-LCHlch(7.31, 23.26, 27.03°)
OKLaboklab(20.87% 0.0583 0.0379)
OKLCHoklch(20.87% 0.07 33)
XYZxyz(1.3537, 0.8095, 0.1424)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310702 #022C31
analogous
#310214 #310702 #311F02
triadic
#310702 #023107 #070231
tetradic
#310702 #143102 #022C31 #1F0231
square
#310702 #143102 #022C31 #1F0231
split-complementary
#310702 #02311F #021431
monochromatic
#1D0401 #1D0401 #310702 #6C0F04 #A71807

Accessibility & contrast

On white

18.08
#310702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310702
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310702#FFFFFF#000000##FFFFFF
##3107021.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141001
Deuteranopia (green-blind)
#1E1A01
Tritanopia (blue-blind)
#370006
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310702;
/* rgb */ color: rgb(49, 7, 2);
/* oklch */ color: oklch(20.9% 0.070 33.0);
Tailwind
colors: {
  custom: {
    50: '#6d4a47',
    500: '#310702',
    950: '#000000',
  },
}
SCSS
$custom: #310702;
$custom-light: #6d4a47;
$custom-dark: #000000;
JSON
{
  "hex": "#310702",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 6.383,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20874,
    "c": 0.06957,
    "h": 33
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#310702
secondary
#196C75
accent
#E8FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310702

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

Preview Lab → · Contrast checker → · Palette generator →

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