#310205#310205

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

Color values

HEX#310205
RGBrgb(49, 2, 5)
HSLhsl(356, 92%, 10%)
HSVhsv(356, 96%, 19%)
CMYKcmyk(0%, 95.9%, 89.8%, 80.8%)
CIE-LABlab(6.39, 23.54, 8.01)
CIE-LCHlch(6.39, 24.87, 18.78°)
OKLaboklab(20.14% 0.07 0.0298)
OKLCHoklch(20.14% 0.076 23.1)
XYZxyz(1.3159, 0.7076, 0.2108)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310205 #02312E
analogous
#31021D #310205 #311602
triadic
#310205 #053102 #020531
tetradic
#310205 #1D3102 #02312E #160231
square
#310205 #1D3102 #02312E #160231
split-complementary
#310205 #023116 #021D31
monochromatic
#1D0103 #1D0103 #310205 #6C040B #A70711

Accessibility & contrast

On white

18.40
#310205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310205
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310205#FFFFFF#000000##FFFFFF
##3102051.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100D05
Deuteranopia (green-blind)
#1C1804
Tritanopia (blue-blind)
#370003
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310205;
/* rgb */ color: rgb(49, 2, 5);
/* oklch */ color: oklch(20.1% 0.076 23.1);
Tailwind
colors: {
  custom: {
    50: '#6d4749',
    500: '#310205',
    950: '#000000',
  },
}
SCSS
$custom: #310205;
$custom-light: #6d4749;
$custom-dark: #000000;
JSON
{
  "hex": "#310205",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 5
  },
  "hsl": {
    "h": 356.17,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20135,
    "c": 0.07606,
    "h": 23.1
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#310205
secondary
#197570
accent
#FFF129
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#080000
muted
#7A7777

Preview Lab

Preview with #310205

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

Preview Lab → · Contrast checker → · Palette generator →

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