#31050E#31050E

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

Color values

HEX#31050E
RGBrgb(49, 5, 14)
HSLhsl(348, 81%, 11%)
HSVhsv(348, 90%, 19%)
CMYKcmyk(0%, 89.8%, 71.4%, 80.8%)
CIE-LABlab(7.17, 22.72, 5.28)
CIE-LCHlch(7.17, 23.32, 13.08°)
OKLaboklab(20.84% 0.0688 0.0167)
OKLCHoklch(20.84% 0.071 13.6)
XYZxyz(1.4003, 0.7934, 0.4948)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31050E #053128
analogous
#310524 #31050E #311205
triadic
#31050E #0E3105 #050E31
tetradic
#31050E #243105 #053128 #120531
square
#31050E #243105 #053128 #120531
split-complementary
#31050E #053112 #052431
monochromatic
#1C0308 #1C0308 #31050E #690B1E #A0102E

Accessibility & contrast

On white

18.13
#31050E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31050E
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31050E#FFFFFF#000000##FFFFFF
##31050E1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10100E
Deuteranopia (green-blind)
#1C190D
Tritanopia (blue-blind)
#370008
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #31050e;
/* rgb */ color: rgb(49, 5, 14);
/* oklch */ color: oklch(20.8% 0.071 13.6);
Tailwind
colors: {
  custom: {
    50: '#6d494d',
    500: '#31050e',
    950: '#000000',
  },
}
SCSS
$custom: #31050e;
$custom-light: #6d494d;
$custom-dark: #000000;
JSON
{
  "hex": "#31050e",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 14
  },
  "hsl": {
    "h": 347.727,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20843,
    "c": 0.07076,
    "h": 13.6
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#31050E
secondary
#1F7261
accent
#F8CF30
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31050E

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

Preview Lab → · Contrast checker → · Palette generator →

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