#7E1D26#7E1D26

#7E1D26 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.131 H 20.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7E1D26
RGBrgb(126, 29, 38)
HSLhsl(354, 63%, 30%)
HSVhsv(354, 77%, 49%)
CMYKcmyk(0%, 77%, 69.8%, 50.6%)
CIE-LABlab(28.00, 41.54, 19.84)
CIE-LCHlch(28.00, 46.04, 25.53°)
OKLaboklab(39.54% 0.1225 0.0466)
OKLCHoklch(39.54% 0.131 20.8)
XYZxyz(9.3944, 5.4557, 2.3917)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D26 #1D7E75
analogous
#7E1D56 #7E1D26 #7E441D
triadic
#7E1D26 #267E1D #1D267E
tetradic
#7E1D26 #567E1D #1D7E75 #441D7E
square
#7E1D26 #567E1D #1D7E75 #441D7E
split-complementary
#7E1D26 #1D7E44 #1D567E
monochromatic
#1B0608 #4C1217 #7E1D26 #B02835 #D3424F

Accessibility & contrast

On white

10.04
#7E1D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D26
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D26#FFFFFF#000000##FFFFFF
##7E1D261.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393526
Deuteranopia (green-blind)
#514A23
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d26;
/* rgb */ color: rgb(126, 29, 38);
/* oklch */ color: oklch(39.5% 0.131 20.8);
Tailwind
colors: {
  custom: {
    50: '#aa6260',
    500: '#7e1d26',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d26;
$custom-light: #aa6260;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d26",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 38
  },
  "hsl": {
    "h": 354.433,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39541,
    "c": 0.13108,
    "h": 20.8
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#7E1D26
secondary
#45B1A7
accent
#E6D642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1D26

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

Preview Lab → · Contrast checker → · Palette generator →

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