#31050B#31050B

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

Color values

HEX#31050B
RGBrgb(49, 5, 11)
HSLhsl(352, 81%, 11%)
HSVhsv(352, 90%, 19%)
CMYKcmyk(0%, 89.8%, 77.6%, 80.8%)
CIE-LABlab(7.10, 22.46, 6.58)
CIE-LCHlch(7.10, 23.40, 16.34°)
OKLaboklab(20.77% 0.0673 0.0216)
OKLCHoklch(20.77% 0.071 17.8)
XYZxyz(1.3814, 0.7859, 0.3955)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31050B #05312B
analogous
#310521 #31050B #311505
triadic
#31050B #0B3105 #050B31
tetradic
#31050B #213105 #05312B #150531
square
#31050B #213105 #05312B #150531
split-complementary
#31050B #053115 #052131
monochromatic
#1C0306 #1C0306 #31050B #690B17 #A01024

Accessibility & contrast

On white

18.15
#31050B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31050B
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31050B#FFFFFF#000000##FFFFFF
##31050B1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100B
Deuteranopia (green-blind)
#1C190A
Tritanopia (blue-blind)
#370007
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #31050b;
/* rgb */ color: rgb(49, 5, 11);
/* oklch */ color: oklch(20.8% 0.071 17.8);
Tailwind
colors: {
  custom: {
    50: '#6d494b',
    500: '#31050b',
    950: '#000000',
  },
}
SCSS
$custom: #31050b;
$custom-light: #6d494b;
$custom-dark: #000000;
JSON
{
  "hex": "#31050b",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 11
  },
  "hsl": {
    "h": 351.818,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20765,
    "c": 0.07066,
    "h": 17.8
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#31050B
secondary
#1F7267
accent
#F8DD30
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31050B

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

Preview Lab → · Contrast checker → · Palette generator →

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