#7E1D29#7E1D29

#7E1D29 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.131 H 19.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7E1D29
RGBrgb(126, 29, 41)
HSLhsl(353, 63%, 30%)
HSVhsv(353, 77%, 49%)
CMYKcmyk(0%, 77%, 67.5%, 50.6%)
CIE-LABlab(28.05, 41.72, 17.94)
CIE-LCHlch(28.05, 45.41, 23.26°)
OKLaboklab(39.6% 0.1238 0.0427)
OKLCHoklch(39.6% 0.131 19)
XYZxyz(9.4448, 5.4759, 2.6570)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D29 #1D7E72
analogous
#7E1D5A #7E1D29 #7E411D
triadic
#7E1D29 #297E1D #1D297E
tetradic
#7E1D29 #5A7E1D #1D7E72 #411D7E
square
#7E1D29 #5A7E1D #1D7E72 #411D7E
split-complementary
#7E1D29 #1D7E41 #1D5A7E
monochromatic
#1B0609 #4C1219 #7E1D29 #B02839 #D34254

Accessibility & contrast

On white

10.02
#7E1D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D29
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D29#FFFFFF#000000##FFFFFF
##7E1D291.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d29;
/* rgb */ color: rgb(126, 29, 41);
/* oklch */ color: oklch(39.6% 0.131 19.0);
Tailwind
colors: {
  custom: {
    50: '#aa6262',
    500: '#7e1d29',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d29;
$custom-light: #aa6262;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d29",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 41
  },
  "hsl": {
    "h": 352.577,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.13093,
    "h": 19
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#7E1D29
secondary
#45B1A4
accent
#E6D142
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1D29

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

Preview Lab → · Contrast checker → · Palette generator →

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