#7E131E#7E131E

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

Color values

HEX#7E131E
RGBrgb(126, 19, 30)
HSLhsl(354, 74%, 28%)
HSVhsv(354, 85%, 49%)
CMYKcmyk(0%, 84.9%, 76.2%, 50.6%)
CIE-LABlab(26.73, 44.35, 23.53)
CIE-LCHlch(26.73, 50.20, 27.95°)
OKLaboklab(38.56% 0.1296 0.0532)
OKLCHoklch(38.56% 0.14 22.3)
XYZxyz(9.0725, 4.9966, 1.7148)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E131E #137E73
analogous
#7E1353 #7E131E #7E3D13
triadic
#7E131E #1E7E13 #131E7E
tetradic
#7E131E #537E13 #137E73 #3D137E
square
#7E131E #537E13 #137E73 #3D137E
split-complementary
#7E131E #137E3D #13537E
monochromatic
#1B0406 #490B11 #7E131E #B31B2B #DF2C3F

Accessibility & contrast

On white

10.51
#7E131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E131E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E131E#FFFFFF#000000##FFFFFF
##7E131E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311D
Deuteranopia (green-blind)
#50471A
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e131e;
/* rgb */ color: rgb(126, 19, 30);
/* oklch */ color: oklch(38.6% 0.140 22.3);
Tailwind
colors: {
  custom: {
    50: '#ab5e59',
    500: '#7e131e',
    950: '#000000',
  },
}
SCSS
$custom: #7e131e;
$custom-light: #ab5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e131e",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 353.832,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38557,
    "c": 0.14008,
    "h": 22.3
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#7E131E
secondary
#39B4A7
accent
#F0DD37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E131E

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

Preview Lab → · Contrast checker → · Palette generator →

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