#7E1929#7E1929

#7E1929 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.135 H 17.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7E1929
RGBrgb(126, 25, 41)
HSLhsl(350, 67%, 30%)
HSVhsv(350, 80%, 49%)
CMYKcmyk(0%, 80.2%, 67.5%, 50.6%)
CIE-LABlab(27.55, 43.11, 17.30)
CIE-LCHlch(27.55, 46.46, 21.87°)
OKLaboklab(39.23% 0.1282 0.0413)
OKLCHoklch(39.23% 0.135 17.8)
XYZxyz(9.3531, 5.2924, 2.6264)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1929 #197E6E
analogous
#7E195C #7E1929 #7E3C19
triadic
#7E1929 #297E19 #19297E
tetradic
#7E1929 #5C7E19 #197E6E #3C197E
square
#7E1929 #5C7E19 #197E6E #3C197E
split-complementary
#7E1929 #197E3C #195C7E
monochromatic
#1A0508 #4B0F18 #7E1929 #B1233A #D83A53

Accessibility & contrast

On white

10.20
#7E1929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1929 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1929
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1929#FFFFFF#000000##FFFFFF
##7E19291.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363429
Deuteranopia (green-blind)
#504926
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1929;
/* rgb */ color: rgb(126, 25, 41);
/* oklch */ color: oklch(39.2% 0.135 17.8);
Tailwind
colors: {
  custom: {
    50: '#aa6062',
    500: '#7e1929',
    950: '#000000',
  },
}
SCSS
$custom: #7e1929;
$custom-light: #aa6062;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1929",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 41
  },
  "hsl": {
    "h": 350.495,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.13471,
    "h": 17.8
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#7E1929
secondary
#41B2A0
accent
#EACF3E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1929

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

Preview Lab → · Contrast checker → · Palette generator →

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