#7E2029#7E2029

#7E2029 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 20.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7E2029
RGBrgb(126, 32, 41)
HSLhsl(354, 59%, 31%)
HSVhsv(354, 75%, 49%)
CMYKcmyk(0%, 74.6%, 67.5%, 50.6%)
CIE-LABlab(28.46, 40.58, 18.46)
CIE-LCHlch(28.46, 44.58, 24.46°)
OKLaboklab(39.9% 0.1201 0.0439)
OKLCHoklch(39.9% 0.128 20.1)
XYZxyz(9.5219, 5.6301, 2.6827)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2029 #207E75
analogous
#7E2058 #7E2029 #7E4620
triadic
#7E2029 #297E20 #20297E
tetradic
#7E2029 #587E20 #207E75 #46207E
square
#7E2029 #587E20 #207E75 #46207E
split-complementary
#7E2029 #207E46 #20587E
monochromatic
#1C0709 #4D1419 #7E2029 #AF2C39 #D04855

Accessibility & contrast

On white

9.88
#7E2029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E2029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2029
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2029#FFFFFF#000000##FFFFFF
##7E20291.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3629
Deuteranopia (green-blind)
#524A26
Tritanopia (blue-blind)
#8B0124
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2029;
/* rgb */ color: rgb(126, 32, 41);
/* oklch */ color: oklch(39.9% 0.128 20.1);
Tailwind
colors: {
  custom: {
    50: '#aa6362',
    500: '#7e2029',
    950: '#000000',
  },
}
SCSS
$custom: #7e2029;
$custom-light: #aa6362;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2029",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 41
  },
  "hsl": {
    "h": 354.255,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.1279,
    "h": 20.1
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#7E2029
secondary
#49B1A7
accent
#E3D445
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2029

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

Preview Lab → · Contrast checker → · Palette generator →

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