#310209#310209

#310209 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.2% C 0.076 H 17.5°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#310209
RGBrgb(49, 2, 9)
HSLhsl(351, 92%, 10%)
HSVhsv(351, 96%, 19%)
CMYKcmyk(0%, 95.9%, 81.6%, 80.8%)
CIE-LABlab(6.47, 23.87, 6.49)
CIE-LCHlch(6.47, 24.73, 15.21°)
OKLaboklab(20.23% 0.0723 0.0228)
OKLCHoklch(20.23% 0.076 17.5)
XYZxyz(1.3378, 0.7163, 0.3262)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310209 #02312A
analogous
#310220 #310209 #311302
triadic
#310209 #093102 #020931
tetradic
#310209 #203102 #02312A #130231
square
#310209 #203102 #02312A #130231
split-complementary
#310209 #023113 #022031
monochromatic
#1D0105 #1D0105 #310209 #6C0414 #A7071F

Accessibility & contrast

On white

18.37
#310209 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#310209 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310209
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310209#FFFFFF#000000##FFFFFF
##3102091.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E09
Deuteranopia (green-blind)
#1B1808
Tritanopia (blue-blind)
#370005
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310209;
/* rgb */ color: rgb(49, 2, 9);
/* oklch */ color: oklch(20.2% 0.076 17.5);
Tailwind
colors: {
  custom: {
    50: '#6d474b',
    500: '#310209',
    950: '#000000',
  },
}
SCSS
$custom: #310209;
$custom-light: #6d474b;
$custom-dark: #000000;
JSON
{
  "hex": "#310209",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 9
  },
  "hsl": {
    "h": 351.064,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20232,
    "c": 0.0758,
    "h": 17.5
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#310209
secondary
#197568
accent
#FFDF29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #310209

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

Preview Lab → · Contrast checker → · Palette generator →

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