#7E1428#7E1428

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

Color values

HEX#7E1428
RGBrgb(126, 20, 40)
HSLhsl(349, 73%, 29%)
HSVhsv(349, 84%, 49%)
CMYKcmyk(0%, 84.1%, 68.3%, 50.6%)
CIE-LABlab(26.99, 44.58, 17.25)
CIE-LCHlch(26.99, 47.81, 21.16°)
OKLaboklab(38.81% 0.1327 0.041)
OKLCHoklch(38.81% 0.139 17.2)
XYZxyz(9.2384, 5.0906, 2.5032)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1428 #147E6A
analogous
#7E145D #7E1428 #7E3514
triadic
#7E1428 #287E14 #14287E
tetradic
#7E1428 #5D7E14 #147E6A #35147E
square
#7E1428 #5D7E14 #147E6A #35147E
split-complementary
#7E1428 #147E35 #145D7E
monochromatic
#1A0408 #490C17 #7E1428 #B31C39 #DE2E50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1428#FFFFFF#000000##FFFFFF
##7E14281.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)
#343228
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1428;
/* rgb */ color: rgb(126, 20, 40);
/* oklch */ color: oklch(38.8% 0.139 17.2);
Tailwind
colors: {
  custom: {
    50: '#aa5e61',
    500: '#7e1428',
    950: '#000000',
  },
}
SCSS
$custom: #7e1428;
$custom-light: #aa5e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1428",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 348.679,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38808,
    "c": 0.13892,
    "h": 17.2
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#7E1428
secondary
#3AB39D
accent
#EFCD38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7E1428

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

Preview Lab → · Contrast checker → · Palette generator →

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