#310905#310905

#310905 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.2% C 0.066 H 30.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#310905
RGBrgb(49, 9, 5)
HSLhsl(5, 81%, 11%)
HSVhsv(5, 90%, 19%)
CMYKcmyk(0%, 81.6%, 89.8%, 80.8%)
CIE-LABlab(7.76, 19.90, 10.01)
CIE-LCHlch(7.76, 22.27, 26.70°)
OKLaboklab(21.25% 0.0568 0.0333)
OKLCHoklch(21.25% 0.066 30.4)
XYZxyz(1.3919, 0.8595, 0.2362)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310905 #052D31
analogous
#310517 #310905 #311F05
triadic
#310905 #053109 #090531
tetradic
#310905 #173105 #052D31 #1F0531
square
#310905 #173105 #052D31 #1F0531
split-complementary
#310905 #05311F #051731
monochromatic
#1C0503 #1C0503 #310905 #69130B #A01D10

Accessibility & contrast

On white

17.92
#310905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310905
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310905#FFFFFF#000000##FFFFFF
##3109051.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141104
Deuteranopia (green-blind)
#1E1A04
Tritanopia (blue-blind)
#370108
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310905;
/* rgb */ color: rgb(49, 9, 5);
/* oklch */ color: oklch(21.2% 0.066 30.4);
Tailwind
colors: {
  custom: {
    50: '#6c4b49',
    500: '#310905',
    950: '#000000',
  },
}
SCSS
$custom: #310905;
$custom-light: #6c4b49;
$custom-dark: #000000;
JSON
{
  "hex": "#310905",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 5
  },
  "hsl": {
    "h": 5.455,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21246,
    "c": 0.06589,
    "h": 30.4
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#310905
secondary
#1F6B72
accent
#E6F830
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310905

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

Preview Lab → · Contrast checker → · Palette generator →

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