#7E1B24#7E1B24

#7E1B24 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.133 H 21.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7E1B24
RGBrgb(126, 27, 36)
HSLhsl(355, 65%, 30%)
HSVhsv(355, 79%, 49%)
CMYKcmyk(0%, 78.6%, 71.4%, 50.6%)
CIE-LABlab(27.70, 42.15, 20.79)
CIE-LCHlch(27.70, 47.00, 26.26°)
OKLaboklab(39.31% 0.124 0.0484)
OKLCHoklch(39.31% 0.133 21.3)
XYZxyz(9.3156, 5.3483, 2.2105)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B24 #1B7E75
analogous
#7E1B56 #7E1B24 #7E431B
triadic
#7E1B24 #247E1B #1B247E
tetradic
#7E1B24 #567E1B #1B7E75 #431B7E
square
#7E1B24 #567E1B #1B7E75 #431B7E
split-complementary
#7E1B24 #1B7E43 #1B567E
monochromatic
#190507 #4C1016 #7E1B24 #B02632 #D63E4C

Accessibility & contrast

On white

10.15
#7E1B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1B24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B24
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B24#FFFFFF#000000##FFFFFF
##7E1B241.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1b24;
/* rgb */ color: rgb(126, 27, 36);
/* oklch */ color: oklch(39.3% 0.133 21.3);
Tailwind
colors: {
  custom: {
    50: '#aa615e',
    500: '#7e1b24',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b24;
$custom-light: #aa615e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b24",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 36
  },
  "hsl": {
    "h": 354.545,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39314,
    "c": 0.13309,
    "h": 21.3
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#7E1B24
secondary
#43B2A8
accent
#E8D840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1B24

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

Preview Lab → · Contrast checker → · Palette generator →

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