#31050A#31050A

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

Color values

HEX#31050A
RGBrgb(49, 5, 10)
HSLhsl(353, 81%, 11%)
HSVhsv(353, 90%, 19%)
CMYKcmyk(0%, 89.8%, 79.6%, 80.8%)
CIE-LABlab(7.08, 22.38, 6.97)
CIE-LCHlch(7.08, 23.44, 17.30°)
OKLaboklab(20.74% 0.0668 0.0231)
OKLCHoklch(20.74% 0.071 19.1)
XYZxyz(1.3758, 0.7836, 0.3659)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31050A #05312C
analogous
#310520 #31050A #311605
triadic
#31050A #0A3105 #050A31
tetradic
#31050A #203105 #05312C #160531
square
#31050A #203105 #05312C #160531
split-complementary
#31050A #053116 #052031
monochromatic
#1C0306 #1C0306 #31050A #690B15 #A01021

Accessibility & contrast

On white

18.16
#31050A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#31050A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##31050A#FFFFFF#000000##FFFFFF
##31050A1.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)
#11100A
Deuteranopia (green-blind)
#1C1909
Tritanopia (blue-blind)
#370007
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #31050a;
/* rgb */ color: rgb(49, 5, 10);
/* oklch */ color: oklch(20.7% 0.071 19.1);
Tailwind
colors: {
  custom: {
    50: '#6d494b',
    500: '#31050a',
    950: '#000000',
  },
}
SCSS
$custom: #31050a;
$custom-light: #6d494b;
$custom-dark: #000000;
JSON
{
  "hex": "#31050a",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 10
  },
  "hsl": {
    "h": 353.182,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20742,
    "c": 0.07068,
    "h": 19.1
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#31050A
secondary
#1F7269
accent
#F8E130
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31050A

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

Preview Lab → · Contrast checker → · Palette generator →

#31050A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva