#7E1921#7E1921

#7E1921 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.135 H 22.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7E1921
RGBrgb(126, 25, 33)
HSLhsl(355, 67%, 30%)
HSVhsv(355, 80%, 49%)
CMYKcmyk(0%, 80.2%, 73.8%, 50.6%)
CIE-LABlab(27.41, 42.67, 22.40)
CIE-LCHlch(27.41, 48.19, 27.69°)
OKLaboklab(39.08% 0.125 0.0514)
OKLCHoklch(39.08% 0.135 22.4)
XYZxyz(9.2274, 5.2421, 1.9645)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1921 #197E76
analogous
#7E1953 #7E1921 #7E4419
triadic
#7E1921 #217E19 #19217E
tetradic
#7E1921 #537E19 #197E76 #44197E
square
#7E1921 #537E19 #197E76 #44197E
split-complementary
#7E1921 #197E44 #19537E
monochromatic
#1A0507 #4B0F14 #7E1921 #B1232E #D83A46

Accessibility & contrast

On white

10.25
#7E1921 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1921 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1921
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1921#FFFFFF#000000##FFFFFF
##7E19211.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383320
Deuteranopia (green-blind)
#51481E
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1921;
/* rgb */ color: rgb(126, 25, 33);
/* oklch */ color: oklch(39.1% 0.135 22.4);
Tailwind
colors: {
  custom: {
    50: '#ab605c',
    500: '#7e1921',
    950: '#000000',
  },
}
SCSS
$custom: #7e1921;
$custom-light: #ab605c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1921",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 33
  },
  "hsl": {
    "h": 355.248,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.13511,
    "h": 22.4
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#7E1921
secondary
#41B2A9
accent
#EADC3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1921

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

Preview Lab → · Contrast checker → · Palette generator →

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