#7E1A25#7E1A25

#7E1A25 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 20.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7E1A25
RGBrgb(126, 26, 37)
HSLhsl(353, 66%, 30%)
HSVhsv(353, 79%, 49%)
CMYKcmyk(0%, 79.4%, 70.6%, 50.6%)
CIE-LABlab(27.60, 42.55, 20.01)
CIE-LCHlch(27.60, 47.02, 25.19°)
OKLaboklab(39.24% 0.1255 0.0468)
OKLCHoklch(39.24% 0.134 20.5)
XYZxyz(9.3085, 5.3094, 2.2846)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A25 #1A7E73
analogous
#7E1A57 #7E1A25 #7E411A
triadic
#7E1A25 #257E1A #1A257E
tetradic
#7E1A25 #577E1A #1A7E73 #411A7E
square
#7E1A25 #577E1A #1A7E73 #411A7E
split-complementary
#7E1A25 #1A7E41 #1A577E
monochromatic
#190507 #4B1016 #7E1A25 #B12434 #D73C4D

Accessibility & contrast

On white

10.19
#7E1A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A25
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A25#FFFFFF#000000##FFFFFF
##7E1A251.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373425
Deuteranopia (green-blind)
#514922
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a25;
/* rgb */ color: rgb(126, 26, 37);
/* oklch */ color: oklch(39.2% 0.134 20.5);
Tailwind
colors: {
  custom: {
    50: '#aa605f',
    500: '#7e1a25',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a25;
$custom-light: #aa605f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a25",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 37
  },
  "hsl": {
    "h": 353.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.13394,
    "h": 20.5
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#7E1A25
secondary
#42B2A6
accent
#E9D63F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1A25

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

Preview Lab → · Contrast checker → · Palette generator →

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