#310509#310509

#310509 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.7% C 0.071 H 20.4°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#310509
RGBrgb(49, 5, 9)
HSLhsl(355, 81%, 11%)
HSVhsv(355, 90%, 19%)
CMYKcmyk(0%, 89.8%, 81.6%, 80.8%)
CIE-LABlab(7.06, 22.31, 7.35)
CIE-LCHlch(7.06, 23.48, 18.23°)
OKLaboklab(20.72% 0.0663 0.0247)
OKLCHoklch(20.72% 0.071 20.4)
XYZxyz(1.3704, 0.7814, 0.3371)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310509 #05312D
analogous
#31051F #310509 #311705
triadic
#310509 #093105 #050931
tetradic
#310509 #1F3105 #05312D #170531
square
#310509 #1F3105 #05312D #170531
split-complementary
#310509 #053117 #051F31
monochromatic
#1C0305 #1C0305 #310509 #690B13 #A0101D

Accessibility & contrast

On white

18.16
#310509 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310509 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310509
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310509#FFFFFF#000000##FFFFFF
##3105091.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111009
Deuteranopia (green-blind)
#1D1908
Tritanopia (blue-blind)
#370007
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310509;
/* rgb */ color: rgb(49, 5, 9);
/* oklch */ color: oklch(20.7% 0.071 20.4);
Tailwind
colors: {
  custom: {
    50: '#6d494b',
    500: '#310509',
    950: '#000000',
  },
}
SCSS
$custom: #310509;
$custom-light: #6d494b;
$custom-dark: #000000;
JSON
{
  "hex": "#310509",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 9
  },
  "hsl": {
    "h": 354.545,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20719,
    "c": 0.07074,
    "h": 20.4
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#310509
secondary
#1F726B
accent
#F8E630
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310509

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

Preview Lab → · Contrast checker → · Palette generator →

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