#310D0F#310D0F

#310D0F is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.1% C 0.059 H 20.0°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#310D0F
RGBrgb(49, 13, 15)
HSLhsl(357, 58%, 12%)
HSVhsv(357, 73%, 19%)
CMYKcmyk(0%, 73.5%, 69.4%, 80.8%)
CIE-LABlab(8.79, 18.50, 7.12)
CIE-LCHlch(8.79, 19.82, 21.05°)
OKLaboklab(22.08% 0.0551 0.0201)
OKLCHoklch(22.08% 0.059 20)
XYZxyz(1.4969, 0.9755, 0.5613)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D0F #0D312F
analogous
#310D21 #310D0F #311D0D
triadic
#310D0F #0F310D #0D0F31
tetradic
#310D0F #21310D #0D312F #1D0D31
square
#310D0F #21310D #0D312F #1D0D31
split-complementary
#310D0F #0D311D #0D2131
monochromatic
#180607 #180607 #310D0F #611A1E #92272D

Accessibility & contrast

On white

17.57
#310D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D0F
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D0F#FFFFFF#000000##FFFFFF
##310D0F1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16140F
Deuteranopia (green-blind)
#1F1C0E
Tritanopia (blue-blind)
#36070E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310d0f;
/* rgb */ color: rgb(49, 13, 15);
/* oklch */ color: oklch(22.1% 0.059 20.0);
Tailwind
colors: {
  custom: {
    50: '#6c4d4e',
    500: '#310d0f',
    950: '#000000',
  },
}
SCSS
$custom: #310d0f;
$custom-light: #6c4d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#310d0f",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 15
  },
  "hsl": {
    "h": 356.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22081,
    "c": 0.05864,
    "h": 20
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#310D0F
secondary
#2E6C69
accent
#E1D947
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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