#310A07#310A07

#310A07 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.4% C 0.064 H 28.5°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#310A07
RGBrgb(49, 10, 7)
HSLhsl(4, 75%, 11%)
HSVhsv(4, 86%, 19%)
CMYKcmyk(0%, 79.6%, 85.7%, 80.8%)
CIE-LABlab(8.00, 19.52, 9.54)
CIE-LCHlch(8.00, 21.72, 26.04°)
OKLaboklab(21.44% 0.0563 0.0305)
OKLCHoklch(21.44% 0.064 28.5)
XYZxyz(1.4137, 0.8856, 0.2975)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A07 #072E31
analogous
#310719 #310A07 #311F07
triadic
#310A07 #07310A #0A0731
tetradic
#310A07 #193107 #072E31 #1F0731
square
#310A07 #193107 #072E31 #1F0731
split-complementary
#310A07 #07311F #071931
monochromatic
#1B0504 #1B0504 #310A07 #67150F #9C2016

Accessibility & contrast

On white

17.84
#310A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A07
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A07#FFFFFF#000000##FFFFFF
##310A071.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151206
Deuteranopia (green-blind)
#1F1B06
Tritanopia (blue-blind)
#37020A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a07;
/* rgb */ color: rgb(49, 10, 7);
/* oklch */ color: oklch(21.4% 0.064 28.5);
Tailwind
colors: {
  custom: {
    50: '#6c4b4a',
    500: '#310a07',
    950: '#000000',
  },
}
SCSS
$custom: #310a07;
$custom-light: #6c4b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310a07",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 7
  },
  "hsl": {
    "h": 4.286,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21437,
    "c": 0.06406,
    "h": 28.5
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#310A07
secondary
#236B71
accent
#E4F236
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310A07

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

Preview Lab → · Contrast checker → · Palette generator →

#310A07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva