#7E1427#7E1427

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

Color values

HEX#7E1427
RGBrgb(126, 20, 39)
HSLhsl(349, 73%, 29%)
HSVhsv(349, 84%, 49%)
CMYKcmyk(0%, 84.1%, 69%, 50.6%)
CIE-LABlab(26.97, 44.53, 17.90)
CIE-LCHlch(26.97, 47.99, 21.90°)
OKLaboklab(38.79% 0.1323 0.0424)
OKLCHoklch(38.79% 0.139 17.8)
XYZxyz(9.2216, 5.0839, 2.4148)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1427 #147E6B
analogous
#7E145C #7E1427 #7E3614
triadic
#7E1427 #277E14 #14277E
tetradic
#7E1427 #5C7E14 #147E6B #36147E
square
#7E1427 #5C7E14 #147E6B #36147E
split-complementary
#7E1427 #147E36 #145C7E
monochromatic
#1A0408 #490C17 #7E1427 #B31C37 #DE2E4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1427#FFFFFF#000000##FFFFFF
##7E14271.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)
#353227
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1427;
/* rgb */ color: rgb(126, 20, 39);
/* oklch */ color: oklch(38.8% 0.139 17.8);
Tailwind
colors: {
  custom: {
    50: '#aa5e60',
    500: '#7e1427',
    950: '#000000',
  },
}
SCSS
$custom: #7e1427;
$custom-light: #aa5e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1427",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 349.245,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38788,
    "c": 0.13893,
    "h": 17.8
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#7E1427
secondary
#3AB39E
accent
#EFCF38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7E1427

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

Preview Lab → · Contrast checker → · Palette generator →

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