#310709#310709

#310709 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.0% C 0.068 H 22.4°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#310709
RGBrgb(49, 7, 9)
HSLhsl(357, 75%, 11%)
HSVhsv(357, 86%, 19%)
CMYKcmyk(0%, 85.7%, 81.6%, 80.8%)
CIE-LABlab(7.45, 21.25, 7.92)
CIE-LCHlch(7.45, 22.68, 20.45°)
OKLaboklab(21.03% 0.0626 0.0258)
OKLCHoklch(21.03% 0.068 22.4)
XYZxyz(1.3921, 0.8249, 0.3443)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310709 #07312F
analogous
#31071E #310709 #311A07
triadic
#310709 #093107 #070931
tetradic
#310709 #1E3107 #07312F #1A0731
square
#310709 #1E3107 #07312F #1A0731
split-complementary
#310709 #07311A #071E31
monochromatic
#1B0405 #1B0405 #310709 #670F13 #9C161D

Accessibility & contrast

On white

18.03
#310709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310709
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310709#FFFFFF#000000##FFFFFF
##3107091.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131109
Deuteranopia (green-blind)
#1D1A08
Tritanopia (blue-blind)
#370008
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310709;
/* rgb */ color: rgb(49, 7, 9);
/* oklch */ color: oklch(21.0% 0.068 22.4);
Tailwind
colors: {
  custom: {
    50: '#6d4a4b',
    500: '#310709',
    950: '#000000',
  },
}
SCSS
$custom: #310709;
$custom-light: #6d4a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#310709",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 9
  },
  "hsl": {
    "h": 357.143,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2103,
    "c": 0.0677,
    "h": 22.4
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#310709
secondary
#23716D
accent
#F2E936
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310709

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

Preview Lab → · Contrast checker → · Palette generator →

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