#7E1829#7E1829

#7E1829 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 17.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7E1829
RGBrgb(126, 24, 41)
HSLhsl(350, 68%, 29%)
HSVhsv(350, 81%, 49%)
CMYKcmyk(0%, 81%, 67.5%, 50.6%)
CIE-LABlab(27.44, 43.44, 17.16)
CIE-LCHlch(27.44, 46.70, 21.55°)
OKLaboklab(39.14% 0.1293 0.0409)
OKLCHoklch(39.14% 0.136 17.6)
XYZxyz(9.3321, 5.2504, 2.6194)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1829 #187E6D
analogous
#7E185C #7E1829 #7E3A18
triadic
#7E1829 #297E18 #18297E
tetradic
#7E1829 #5C7E18 #187E6D #3A187E
square
#7E1829 #5C7E18 #187E6D #3A187E
split-complementary
#7E1829 #187E3A #185C7E
monochromatic
#1A0508 #4B0E18 #7E1829 #B1223A #D93752

Accessibility & contrast

On white

10.24
#7E1829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1829
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1829#FFFFFF#000000##FFFFFF
##7E18291.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363329
Deuteranopia (green-blind)
#504826
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1829;
/* rgb */ color: rgb(126, 24, 41);
/* oklch */ color: oklch(39.1% 0.136 17.6);
Tailwind
colors: {
  custom: {
    50: '#aa6062',
    500: '#7e1829',
    950: '#000000',
  },
}
SCSS
$custom: #7e1829;
$custom-light: #aa6062;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1829",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 41
  },
  "hsl": {
    "h": 350,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39144,
    "c": 0.1356,
    "h": 17.6
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#7E1829
secondary
#3FB29F
accent
#EBCE3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E1829

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

Preview Lab → · Contrast checker → · Palette generator →

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