#310F09#310F09

#310F09 is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.3% C 0.057 H 32.0°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#310F09
RGBrgb(49, 15, 9)
HSLhsl(9, 69%, 11%)
HSVhsv(9, 82%, 19%)
CMYKcmyk(0%, 69.4%, 81.6%, 80.8%)
CIE-LABlab(9.11, 16.81, 10.33)
CIE-LCHlch(9.11, 19.73, 31.58°)
OKLaboklab(22.29% 0.0484 0.0303)
OKLCHoklch(22.29% 0.057 32)
XYZxyz(1.4869, 1.0145, 0.3759)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F09 #092B31
analogous
#310917 #310F09 #312309
triadic
#310F09 #09310F #0F0931
tetradic
#310F09 #173109 #092B31 #230931
square
#310F09 #173109 #092B31 #230931
split-complementary
#310F09 #093123 #091731
monochromatic
#1A0805 #1A0805 #310F09 #651F12 #982F1C

Accessibility & contrast

On white

17.46
#310F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310F09
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F09#FFFFFF#000000##FFFFFF
##310F091.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181508
Deuteranopia (green-blind)
#201C08
Tritanopia (blue-blind)
#37080E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f09;
/* rgb */ color: rgb(49, 15, 9);
/* oklch */ color: oklch(22.3% 0.057 32.0);
Tailwind
colors: {
  custom: {
    50: '#6c4e4a',
    500: '#310f09',
    950: '#000000',
  },
}
SCSS
$custom: #310f09;
$custom-light: #6c4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310f09",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 9
  },
  "hsl": {
    "h": 9,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22287,
    "c": 0.05711,
    "h": 32
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#310F09
secondary
#27646F
accent
#D1EC3C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #310F09

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

Preview Lab → · Contrast checker → · Palette generator →

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