#310506#310506

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

Color values

HEX#310506
RGBrgb(49, 5, 6)
HSLhsl(359, 81%, 11%)
HSVhsv(359, 90%, 19%)
CMYKcmyk(0%, 89.8%, 87.8%, 80.8%)
CIE-LABlab(7.00, 22.07, 8.49)
CIE-LCHlch(7.00, 23.64, 21.03°)
OKLaboklab(20.65% 0.0646 0.0296)
OKLCHoklch(20.65% 0.071 24.6)
XYZxyz(1.3539, 0.7749, 0.2505)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310506 #053130
analogous
#31051C #310506 #311A05
triadic
#310506 #063105 #050631
tetradic
#310506 #1C3105 #053130 #1A0531
square
#310506 #1C3105 #053130 #1A0531
split-complementary
#310506 #05311A #051C31
monochromatic
#1C0303 #1C0303 #310506 #690B0D #A01014

Accessibility & contrast

On white

18.18
#310506 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310506
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310506#FFFFFF#000000##FFFFFF
##3105061.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F06
Deuteranopia (green-blind)
#1D1905
Tritanopia (blue-blind)
#370006
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310506;
/* rgb */ color: rgb(49, 5, 6);
/* oklch */ color: oklch(20.6% 0.071 24.6);
Tailwind
colors: {
  custom: {
    50: '#6d4949',
    500: '#310506',
    950: '#000000',
  },
}
SCSS
$custom: #310506;
$custom-light: #6d4949;
$custom-dark: #000000;
JSON
{
  "hex": "#310506",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 6
  },
  "hsl": {
    "h": 358.636,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2065,
    "c": 0.07111,
    "h": 24.6
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#310506
secondary
#1F7271
accent
#F8F330
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310506

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

Preview Lab → · Contrast checker → · Palette generator →

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