#7E131C#7E131C

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

Color values

HEX#7E131C
RGBrgb(126, 19, 28)
HSLhsl(355, 74%, 28%)
HSVhsv(355, 85%, 49%)
CMYKcmyk(0%, 84.9%, 77.8%, 50.6%)
CIE-LABlab(26.70, 44.26, 24.79)
CIE-LCHlch(26.70, 50.73, 29.25°)
OKLaboklab(38.53% 0.1288 0.0555)
OKLCHoklch(38.53% 0.14 23.3)
XYZxyz(9.0477, 4.9867, 1.5845)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E131C #137E75
analogous
#7E1351 #7E131C #7E3F13
triadic
#7E131C #1C7E13 #131C7E
tetradic
#7E131C #517E13 #137E75 #3F137E
square
#7E131C #517E13 #137E75 #3F137E
split-complementary
#7E131C #137E3F #13517E
monochromatic
#1B0406 #490B10 #7E131C #B31B28 #DF2C3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E131C#FFFFFF#000000##FFFFFF
##7E131C1.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)
#36311B
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e131c;
/* rgb */ color: rgb(126, 19, 28);
/* oklch */ color: oklch(38.5% 0.140 23.3);
Tailwind
colors: {
  custom: {
    50: '#ab5e58',
    500: '#7e131c',
    950: '#000000',
  },
}
SCSS
$custom: #7e131c;
$custom-light: #ab5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e131c",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 28
  },
  "hsl": {
    "h": 354.953,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38527,
    "c": 0.14025,
    "h": 23.3
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#7E131C
secondary
#39B4A9
accent
#F0E137
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E131C

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

Preview Lab → · Contrast checker → · Palette generator →

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