#7E131F#7E131F

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

Color values

HEX#7E131F
RGBrgb(126, 19, 31)
HSLhsl(353, 74%, 28%)
HSVhsv(353, 85%, 49%)
CMYKcmyk(0%, 84.9%, 75.4%, 50.6%)
CIE-LABlab(26.74, 44.39, 22.90)
CIE-LCHlch(26.74, 49.95, 27.29°)
OKLaboklab(38.57% 0.13 0.0521)
OKLCHoklch(38.57% 0.14 21.8)
XYZxyz(9.0855, 5.0017, 1.7831)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E131F #137E72
analogous
#7E1354 #7E131F #7E3C13
triadic
#7E131F #1F7E13 #131F7E
tetradic
#7E131F #547E13 #137E72 #3C137E
square
#7E131F #547E13 #137E72 #3C137E
split-complementary
#7E131F #137E3C #13547E
monochromatic
#1B0407 #490B12 #7E131F #B31B2C #DF2C40

Accessibility & contrast

On white

10.50
#7E131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E131F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E131F#FFFFFF#000000##FFFFFF
##7E131F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e131f;
/* rgb */ color: rgb(126, 19, 31);
/* oklch */ color: oklch(38.6% 0.140 21.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e5a',
    500: '#7e131f',
    950: '#000000',
  },
}
SCSS
$custom: #7e131f;
$custom-light: #ab5e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e131f",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 353.271,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38573,
    "c": 0.14001,
    "h": 21.8
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#7E131F
secondary
#39B4A6
accent
#F0DC37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E131F

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

Preview Lab → · Contrast checker → · Palette generator →

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