#310F0D#310F0D

#310F0D is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.4% C 0.056 H 26.0°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#310F0D
RGBrgb(49, 15, 13)
HSLhsl(3, 58%, 12%)
HSVhsv(3, 73%, 19%)
CMYKcmyk(0%, 69.4%, 73.5%, 80.8%)
CIE-LABlab(9.19, 17.13, 8.71)
CIE-LCHlch(9.19, 19.21, 26.95°)
OKLaboklab(22.37% 0.0504 0.0245)
OKLCHoklch(22.37% 0.056 26)
XYZxyz(1.5102, 1.0239, 0.4988)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F0D #0D2F31
analogous
#310D1D #310F0D #31210D
triadic
#310F0D #0D310F #0F0D31
tetradic
#310F0D #1D310D #0D2F31 #210D31
square
#310F0D #1D310D #0D2F31 #210D31
split-complementary
#310F0D #0D3121 #0D1D31
monochromatic
#180706 #180706 #310F0D #611E1A #922D27

Accessibility & contrast

On white

17.43
#310F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F0D
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F0D#FFFFFF#000000##FFFFFF
##310F0D1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18150D
Deuteranopia (green-blind)
#201D0C
Tritanopia (blue-blind)
#36090F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f0d;
/* rgb */ color: rgb(49, 15, 13);
/* oklch */ color: oklch(22.4% 0.056 26.0);
Tailwind
colors: {
  custom: {
    50: '#6c4f4c',
    500: '#310f0d',
    950: '#000000',
  },
}
SCSS
$custom: #310f0d;
$custom-light: #6c4f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#310f0d",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 13
  },
  "hsl": {
    "h": 3.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2237,
    "c": 0.05603,
    "h": 26
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#310F0D
secondary
#2E696C
accent
#D9E147
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #310F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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