#7E1520#7E1520

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

Color values

HEX#7E1520
RGBrgb(126, 21, 32)
HSLhsl(354, 71%, 29%)
HSVhsv(354, 83%, 49%)
CMYKcmyk(0%, 83.3%, 74.6%, 50.6%)
CIE-LABlab(26.95, 43.87, 22.50)
CIE-LCHlch(26.95, 49.31, 27.15°)
OKLaboklab(38.74% 0.1285 0.0514)
OKLCHoklch(38.74% 0.138 21.8)
XYZxyz(9.1341, 5.0777, 1.8654)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1520 #157E73
analogous
#7E1555 #7E1520 #7E3F15
triadic
#7E1520 #207E15 #15207E
tetradic
#7E1520 #557E15 #157E73 #3F157E
square
#7E1520 #557E15 #157E73 #3F157E
split-complementary
#7E1520 #157E3F #15557E
monochromatic
#1A0407 #4A0C13 #7E1520 #B21E2D #DD3143

Accessibility & contrast

On white

10.42
#7E1520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1520
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1520#FFFFFF#000000##FFFFFF
##7E15201.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1520;
/* rgb */ color: rgb(126, 21, 32);
/* oklch */ color: oklch(38.7% 0.138 21.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e5b',
    500: '#7e1520',
    950: '#000000',
  },
}
SCSS
$custom: #7e1520;
$custom-light: #ab5e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1520",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 32
  },
  "hsl": {
    "h": 353.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38737,
    "c": 0.13844,
    "h": 21.8
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#7E1520
secondary
#3CB3A7
accent
#EEDB3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1520

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

Preview Lab → · Contrast checker → · Palette generator →

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