#7E131B#7E131B

#7E131B is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.140 H 23.8°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#7E131B
RGBrgb(126, 19, 27)
HSLhsl(356, 74%, 28%)
HSVhsv(356, 85%, 49%)
CMYKcmyk(0%, 84.9%, 78.6%, 50.6%)
CIE-LABlab(26.68, 44.22, 25.41)
CIE-LCHlch(26.68, 51.00, 29.88°)
OKLaboklab(38.51% 0.1284 0.0566)
OKLCHoklch(38.51% 0.14 23.8)
XYZxyz(9.0360, 4.9820, 1.5225)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E131B #137E76
analogous
#7E1350 #7E131B #7E4013
triadic
#7E131B #1B7E13 #131B7E
tetradic
#7E131B #507E13 #137E76 #40137E
square
#7E131B #507E13 #137E76 #40137E
split-complementary
#7E131B #137E40 #13507E
monochromatic
#1B0406 #490B10 #7E131B #B31B26 #DF2C3A

Accessibility & contrast

On white

10.52
#7E131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E131B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E131B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E131B#FFFFFF#000000##FFFFFF
##7E131B1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36301A
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e131b;
/* rgb */ color: rgb(126, 19, 27);
/* oklch */ color: oklch(38.5% 0.140 23.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e57',
    500: '#7e131b',
    950: '#000000',
  },
}
SCSS
$custom: #7e131b;
$custom-light: #ab5e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7e131b",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 355.514,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38513,
    "c": 0.14034,
    "h": 23.8
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#7E131B
secondary
#39B4AA
accent
#F0E337
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E131B

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

Preview Lab → · Contrast checker → · Palette generator →

#7E131B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva