#7E1B29#7E1B29

#7E1B29 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.133 H 18.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7E1B29
RGBrgb(126, 27, 41)
HSLhsl(352, 65%, 30%)
HSVhsv(352, 79%, 49%)
CMYKcmyk(0%, 78.6%, 67.5%, 50.6%)
CIE-LABlab(27.79, 42.44, 17.61)
CIE-LCHlch(27.79, 45.95, 22.54°)
OKLaboklab(39.41% 0.1261 0.042)
OKLCHoklch(39.41% 0.133 18.4)
XYZxyz(9.3974, 5.3810, 2.6412)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B29 #1B7E70
analogous
#7E1B5B #7E1B29 #7E3E1B
triadic
#7E1B29 #297E1B #1B297E
tetradic
#7E1B29 #5B7E1B #1B7E70 #3E1B7E
square
#7E1B29 #5B7E1B #1B7E70 #3E1B7E
split-complementary
#7E1B29 #1B7E3E #1B5B7E
monochromatic
#190508 #4C1019 #7E1B29 #B02639 #D63E53

Accessibility & contrast

On white

10.12
#7E1B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B29
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B29#FFFFFF#000000##FFFFFF
##7E1B291.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373429
Deuteranopia (green-blind)
#504926
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1b29;
/* rgb */ color: rgb(126, 27, 41);
/* oklch */ color: oklch(39.4% 0.133 18.4);
Tailwind
colors: {
  custom: {
    50: '#aa6162',
    500: '#7e1b29',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b29;
$custom-light: #aa6162;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b29",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 351.515,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.13286,
    "h": 18.4
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#7E1B29
secondary
#43B2A2
accent
#E8D040
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1B29

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

Preview Lab → · Contrast checker → · Palette generator →

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