#7E1E29#7E1E29

#7E1E29 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 19.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7E1E29
RGBrgb(126, 30, 41)
HSLhsl(353, 62%, 31%)
HSVhsv(353, 76%, 49%)
CMYKcmyk(0%, 76.2%, 67.5%, 50.6%)
CIE-LABlab(28.18, 41.35, 18.11)
CIE-LCHlch(28.18, 45.14, 23.65°)
OKLaboklab(39.7% 0.1226 0.0431)
OKLCHoklch(39.7% 0.13 19.4)
XYZxyz(9.4697, 5.5257, 2.6653)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E29 #1E7E73
analogous
#7E1E59 #7E1E29 #7E431E
triadic
#7E1E29 #297E1E #1E297E
tetradic
#7E1E29 #597E1E #1E7E73 #431E7E
square
#7E1E29 #597E1E #1E7E73 #431E7E
split-complementary
#7E1E29 #1E7E43 #1E597E
monochromatic
#1B0609 #4D1219 #7E1E29 #AF2A39 #D24454

Accessibility & contrast

On white

9.98
#7E1E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1E29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E29
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E29#FFFFFF#000000##FFFFFF
##7E1E291.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393629
Deuteranopia (green-blind)
#514A26
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e29;
/* rgb */ color: rgb(126, 30, 41);
/* oklch */ color: oklch(39.7% 0.130 19.4);
Tailwind
colors: {
  custom: {
    50: '#aa6262',
    500: '#7e1e29',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e29;
$custom-light: #aa6262;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e29",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 41
  },
  "hsl": {
    "h": 353.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.12994,
    "h": 19.4
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#7E1E29
secondary
#47B1A5
accent
#E5D243
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E1E29

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

Preview Lab → · Contrast checker → · Palette generator →

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