#7E1A32#7E1A32

#7E1A32 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.134 H 12.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7E1A32
RGBrgb(126, 26, 50)
HSLhsl(346, 66%, 30%)
HSVhsv(346, 79%, 49%)
CMYKcmyk(0%, 79.4%, 60.3%, 50.6%)
CIE-LABlab(27.86, 43.39, 11.69)
CIE-LCHlch(27.86, 44.94, 15.07°)
OKLaboklab(39.52% 0.131 0.029)
OKLCHoklch(39.52% 0.134 12.5)
XYZxyz(9.5503, 5.4061, 3.5576)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A32 #1A7E66
analogous
#7E1A64 #7E1A32 #7E341A
triadic
#7E1A32 #327E1A #1A327E
tetradic
#7E1A32 #647E1A #1A7E66 #341A7E
square
#7E1A32 #647E1A #1A7E66 #341A7E
split-complementary
#7E1A32 #1A7E34 #1A647E
monochromatic
#19050A #4B101E #7E1A32 #B12446 #D73C61

Accessibility & contrast

On white

10.09
#7E1A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A32
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A32#FFFFFF#000000##FFFFFF
##7E1A321.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353532
Deuteranopia (green-blind)
#4F492F
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1a32;
/* rgb */ color: rgb(126, 26, 50);
/* oklch */ color: oklch(39.5% 0.134 12.5);
Tailwind
colors: {
  custom: {
    50: '#a96169',
    500: '#7e1a32',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a32;
$custom-light: #a96169;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a32",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 345.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3952,
    "c": 0.13412,
    "h": 12.5
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#7E1A32
secondary
#42B297
accent
#E9C03F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1A32

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

Preview Lab → · Contrast checker → · Palette generator →

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