#7E1126#7E1126

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

Color values

HEX#7E1126
RGBrgb(126, 17, 38)
HSLhsl(348, 76%, 28%)
HSVhsv(348, 87%, 49%)
CMYKcmyk(0%, 86.5%, 69.8%, 50.6%)
CIE-LABlab(26.67, 45.27, 18.19)
CIE-LCHlch(26.67, 48.79, 21.89°)
OKLaboklab(38.56% 0.1345 0.0429)
OKLCHoklch(38.56% 0.141 17.7)
XYZxyz(9.1555, 4.9779, 2.3121)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1126 #117E69
analogous
#7E115D #7E1126 #7E3211
triadic
#7E1126 #267E11 #11267E
tetradic
#7E1126 #5D7E11 #117E69 #32117E
square
#7E1126 #5D7E11 #117E69 #32117E
split-complementary
#7E1126 #117E32 #115D7E
monochromatic
#1B0408 #480A16 #7E1126 #B41836 #E2274B

Accessibility & contrast

On white

10.53
#7E1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1126
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1126#FFFFFF#000000##FFFFFF
##7E11261.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333126
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1126;
/* rgb */ color: rgb(126, 17, 38);
/* oklch */ color: oklch(38.6% 0.141 17.7);
Tailwind
colors: {
  custom: {
    50: '#ab5d60',
    500: '#7e1126',
    950: '#000000',
  },
}
SCSS
$custom: #7e1126;
$custom-light: #ab5d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1126",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 348.44,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3856,
    "c": 0.14114,
    "h": 17.7
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#7E1126
secondary
#37B49C
accent
#F3CE35
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1126

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

Preview Lab → · Contrast checker → · Palette generator →

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