#7E1120#7E1120

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

Color values

HEX#7E1120
RGBrgb(126, 17, 32)
HSLhsl(352, 76%, 28%)
HSVhsv(352, 87%, 49%)
CMYKcmyk(0%, 86.5%, 74.6%, 50.6%)
CIE-LABlab(26.57, 44.97, 22.05)
CIE-LCHlch(26.57, 50.08, 26.12°)
OKLaboklab(38.45% 0.132 0.0504)
OKLCHoklch(38.45% 0.141 20.9)
XYZxyz(9.0664, 4.9423, 1.8428)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1120 #117E6F
analogous
#7E1156 #7E1120 #7E3811
triadic
#7E1120 #207E11 #11207E
tetradic
#7E1120 #567E11 #117E6F #38117E
square
#7E1120 #567E11 #117E6F #38117E
split-complementary
#7E1120 #117E38 #11567E
monochromatic
#1B0407 #480A12 #7E1120 #B4182E #E22741

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1120#FFFFFF#000000##FFFFFF
##7E11201.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)
#343020
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1120;
/* rgb */ color: rgb(126, 17, 32);
/* oklch */ color: oklch(38.5% 0.141 20.9);
Tailwind
colors: {
  custom: {
    50: '#ab5d5b',
    500: '#7e1120',
    950: '#000000',
  },
}
SCSS
$custom: #7e1120;
$custom-light: #ab5d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1120",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 32
  },
  "hsl": {
    "h": 351.743,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38452,
    "c": 0.14134,
    "h": 20.9
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#7E1120
secondary
#37B4A3
accent
#F3D935
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1120

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

Preview Lab → · Contrast checker → · Palette generator →

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