#7E1121#7E1121

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

Color values

HEX#7E1121
RGBrgb(126, 17, 33)
HSLhsl(351, 76%, 28%)
HSVhsv(351, 87%, 49%)
CMYKcmyk(0%, 86.5%, 73.8%, 50.6%)
CIE-LABlab(26.59, 45.01, 21.41)
CIE-LCHlch(26.59, 49.84, 25.43°)
OKLaboklab(38.47% 0.1324 0.0492)
OKLCHoklch(38.47% 0.141 20.4)
XYZxyz(9.0802, 4.9478, 1.9155)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1121 #117E6E
analogous
#7E1157 #7E1121 #7E3811
triadic
#7E1121 #217E11 #11217E
tetradic
#7E1121 #577E11 #117E6E #38117E
square
#7E1121 #577E11 #117E6E #38117E
split-complementary
#7E1121 #117E38 #11577E
monochromatic
#1B0407 #480A13 #7E1121 #B4182F #E22743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1121#FFFFFF#000000##FFFFFF
##7E11211.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)
#343021
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1121;
/* rgb */ color: rgb(126, 17, 33);
/* oklch */ color: oklch(38.5% 0.141 20.4);
Tailwind
colors: {
  custom: {
    50: '#ab5d5c',
    500: '#7e1121',
    950: '#000000',
  },
}
SCSS
$custom: #7e1121;
$custom-light: #ab5d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1121",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 351.193,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.14128,
    "h": 20.4
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#7E1121
secondary
#37B4A2
accent
#F3D735
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1121

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

Preview Lab → · Contrast checker → · Palette generator →

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