#7E121B#7E121B

#7E121B is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.141 H 23.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#7E121B
RGBrgb(126, 18, 27)
HSLhsl(355, 75%, 28%)
HSVhsv(355, 86%, 49%)
CMYKcmyk(0%, 85.7%, 78.6%, 50.6%)
CIE-LABlab(26.59, 44.49, 25.30)
CIE-LCHlch(26.59, 51.18, 29.63°)
OKLaboklab(38.44% 0.1293 0.0563)
OKLCHoklch(38.44% 0.141 23.5)
XYZxyz(9.0194, 4.9488, 1.5170)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E121B #127E75
analogous
#7E1251 #7E121B #7E3F12
triadic
#7E121B #1B7E12 #121B7E
tetradic
#7E121B #517E12 #127E75 #3F127E
square
#7E121B #517E12 #127E75 #3F127E
split-complementary
#7E121B #127E3F #12517E
monochromatic
#1B0406 #480A10 #7E121B #B41A26 #E12A39

Accessibility & contrast

On white

10.56
#7E121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E121B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E121B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E121B#FFFFFF#000000##FFFFFF
##7E121B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e121b;
/* rgb */ color: rgb(126, 18, 27);
/* oklch */ color: oklch(38.4% 0.141 23.5);
Tailwind
colors: {
  custom: {
    50: '#ac5d57',
    500: '#7e121b',
    950: '#000000',
  },
}
SCSS
$custom: #7e121b;
$custom-light: #ac5d57;
$custom-dark: #000000;
JSON
{
  "hex": "#7e121b",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 355,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38443,
    "c": 0.14103,
    "h": 23.5
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#7E121B
secondary
#38B4A9
accent
#F2E236
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E121B

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

Preview Lab → · Contrast checker → · Palette generator →

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