#310305#310305

#310305 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.3% C 0.074 H 24.1°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#310305
RGBrgb(49, 3, 5)
HSLhsl(357, 88%, 10%)
HSVhsv(357, 94%, 19%)
CMYKcmyk(0%, 93.9%, 89.8%, 80.8%)
CIE-LABlab(6.59, 23.03, 8.29)
CIE-LCHlch(6.59, 24.47, 19.80°)
OKLaboklab(20.3% 0.0679 0.0304)
OKLCHoklch(20.3% 0.074 24.1)
XYZxyz(1.3267, 0.7293, 0.2145)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310305 #03312F
analogous
#31031C #310305 #311803
triadic
#310305 #053103 #030531
tetradic
#310305 #1C3103 #03312F #180331
square
#310305 #1C3103 #03312F #180331
split-complementary
#310305 #033118 #031C31
monochromatic
#1D0203 #1D0203 #310305 #6B070B #A40A11

Accessibility & contrast

On white

18.33
#310305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#310305 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310305
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310305#FFFFFF#000000##FFFFFF
##3103051.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100E05
Deuteranopia (green-blind)
#1C1804
Tritanopia (blue-blind)
#370004
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310305;
/* rgb */ color: rgb(49, 3, 5);
/* oklch */ color: oklch(20.3% 0.074 24.1);
Tailwind
colors: {
  custom: {
    50: '#6d4849',
    500: '#310305',
    950: '#000000',
  },
}
SCSS
$custom: #310305;
$custom-light: #6d4849;
$custom-dark: #000000;
JSON
{
  "hex": "#310305",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 5
  },
  "hsl": {
    "h": 357.391,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20302,
    "c": 0.07441,
    "h": 24.1
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#310305
secondary
#1B7471
accent
#FFF529
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #310305

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

Preview Lab → · Contrast checker → · Palette generator →

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