#7E1529#7E1529

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

Color values

HEX#7E1529
RGBrgb(126, 21, 41)
HSLhsl(349, 71%, 29%)
HSVhsv(349, 83%, 49%)
CMYKcmyk(0%, 83.3%, 67.5%, 50.6%)
CIE-LABlab(27.11, 44.36, 16.74)
CIE-LCHlch(27.11, 47.41, 20.67°)
OKLaboklab(38.9% 0.1322 0.04)
OKLCHoklch(38.9% 0.138 16.8)
XYZxyz(9.2736, 5.1335, 2.6000)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1529 #157E6A
analogous
#7E155E #7E1529 #7E3615
triadic
#7E1529 #297E15 #15297E
tetradic
#7E1529 #5E7E15 #157E6A #36157E
square
#7E1529 #5E7E15 #157E6A #36157E
split-complementary
#7E1529 #157E36 #155E7E
monochromatic
#1A0409 #4A0C18 #7E1529 #B21E3A #DD3152

Accessibility & contrast

On white

10.36
#7E1529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1529 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1529
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1529#FFFFFF#000000##FFFFFF
##7E15291.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353229
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1529;
/* rgb */ color: rgb(126, 21, 41);
/* oklch */ color: oklch(38.9% 0.138 16.8);
Tailwind
colors: {
  custom: {
    50: '#aa5f62',
    500: '#7e1529',
    950: '#000000',
  },
}
SCSS
$custom: #7e1529;
$custom-light: #aa5f62;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1529",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 41
  },
  "hsl": {
    "h": 348.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.13814,
    "h": 16.8
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#7E1529
secondary
#3CB39C
accent
#EECC3A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E1529

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

Preview Lab → · Contrast checker → · Palette generator →

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