#7E2121#7E2121

#7E2121 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 25.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E2121
RGBrgb(126, 33, 33)
HSLhsl(0, 58%, 31%)
HSVhsv(0, 74%, 49%)
CMYKcmyk(0%, 73.8%, 73.8%, 50.6%)
CIE-LABlab(28.47, 39.73, 23.64)
CIE-LCHlch(28.47, 46.23, 30.75°)
OKLaboklab(39.87% 0.1156 0.0541)
OKLCHoklch(39.87% 0.128 25.1)
XYZxyz(9.4236, 5.6345, 2.0299)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2121 #217E7E
analogous
#7E214F #7E2121 #7E4F21
triadic
#7E2121 #217E21 #21217E
tetradic
#7E2121 #4F7E21 #217E7E #4F217E
square
#7E2121 #4F7E21 #217E7E #4F217E
split-complementary
#7E2121 #217E4F #214F7E
monochromatic
#1D0808 #4E1414 #7E2121 #AE2E2E #D04A4A

Accessibility & contrast

On white

9.87
#7E2121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E2121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2121
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2121#FFFFFF#000000##FFFFFF
##7E21211.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3620
Deuteranopia (green-blind)
#534A1E
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2121;
/* rgb */ color: rgb(126, 33, 33);
/* oklch */ color: oklch(39.9% 0.128 25.1);
Tailwind
colors: {
  custom: {
    50: '#aa635c',
    500: '#7e2121',
    950: '#000000',
  },
}
SCSS
$custom: #7e2121;
$custom-light: #aa635c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2121",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 33
  },
  "hsl": {
    "h": 0,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39869,
    "c": 0.12766,
    "h": 25.1
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#7E2121
secondary
#4AB1B1
accent
#E2E246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2121

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

Preview Lab → · Contrast checker → · Palette generator →

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