#7E151A#7E151A

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

Color values

HEX#7E151A
RGBrgb(126, 21, 26)
HSLhsl(357, 71%, 29%)
HSVhsv(357, 83%, 49%)
CMYKcmyk(0%, 83.3%, 79.4%, 50.6%)
CIE-LABlab(26.87, 43.61, 26.25)
CIE-LCHlch(26.87, 50.90, 31.04°)
OKLaboklab(38.65% 0.1263 0.0581)
OKLCHoklch(38.65% 0.139 24.7)
XYZxyz(9.0599, 5.0480, 1.4744)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E151A #157E79
analogous
#7E154F #7E151A #7E4515
triadic
#7E151A #1A7E15 #151A7E
tetradic
#7E151A #4F7E15 #157E79 #45157E
square
#7E151A #4F7E15 #157E79 #45157E
split-complementary
#7E151A #157E45 #154F7E
monochromatic
#1A0405 #4A0C0F #7E151A #B21E25 #DD3139

Accessibility & contrast

On white

10.45
#7E151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E151A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E151A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E151A#FFFFFF#000000##FFFFFF
##7E151A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e151a;
/* rgb */ color: rgb(126, 21, 26);
/* oklch */ color: oklch(38.6% 0.139 24.7);
Tailwind
colors: {
  custom: {
    50: '#ac5e56',
    500: '#7e151a',
    950: '#000000',
  },
}
SCSS
$custom: #7e151a;
$custom-light: #ac5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e151a",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 357.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38648,
    "c": 0.13899,
    "h": 24.7
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#7E151A
secondary
#3CB3AD
accent
#EEE63A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E151A

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

Preview Lab → · Contrast checker → · Palette generator →

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