#7E1521#7E1521

#7E1521 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 21.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#7E1521
RGBrgb(126, 21, 33)
HSLhsl(353, 71%, 29%)
HSVhsv(353, 83%, 49%)
CMYKcmyk(0%, 83.3%, 73.8%, 50.6%)
CIE-LABlab(26.97, 43.92, 21.87)
CIE-LCHlch(26.97, 49.06, 26.47°)
OKLaboklab(38.75% 0.1289 0.0502)
OKLCHoklch(38.75% 0.138 21.3)
XYZxyz(9.1479, 5.0832, 1.9380)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1521 #157E72
analogous
#7E1556 #7E1521 #7E3E15
triadic
#7E1521 #217E15 #15217E
tetradic
#7E1521 #567E15 #157E72 #3E157E
square
#7E1521 #567E15 #157E72 #3E157E
split-complementary
#7E1521 #157E3E #15567E
monochromatic
#1A0407 #4A0C13 #7E1521 #B21E2F #DD3144

Accessibility & contrast

On white

10.41
#7E1521 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1521 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1521
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1521#FFFFFF#000000##FFFFFF
##7E15211.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363121
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1521;
/* rgb */ color: rgb(126, 21, 33);
/* oklch */ color: oklch(38.8% 0.138 21.3);
Tailwind
colors: {
  custom: {
    50: '#ab5e5c',
    500: '#7e1521',
    950: '#000000',
  },
}
SCSS
$custom: #7e1521;
$custom-light: #ab5e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1521",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 33
  },
  "hsl": {
    "h": 353.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38754,
    "c": 0.13838,
    "h": 21.3
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#7E1521
secondary
#3CB3A5
accent
#EEDA3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1521

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

Preview Lab → · Contrast checker → · Palette generator →

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