#7E1724#7E1724

#7E1724 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.137 H 20.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7E1724
RGBrgb(126, 23, 36)
HSLhsl(352, 69%, 29%)
HSVhsv(352, 82%, 49%)
CMYKcmyk(0%, 81.7%, 71.4%, 50.6%)
CIE-LABlab(27.23, 43.47, 20.22)
CIE-LCHlch(27.23, 47.94, 24.94°)
OKLaboklab(38.96% 0.1282 0.0471)
OKLCHoklch(38.96% 0.137 20.2)
XYZxyz(9.2301, 5.1772, 2.1820)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1724 #177E71
analogous
#7E1758 #7E1724 #7E3E17
triadic
#7E1724 #247E17 #17247E
tetradic
#7E1724 #587E17 #177E71 #3E177E
square
#7E1724 #587E17 #177E71 #3E177E
split-complementary
#7E1724 #177E3E #17587E
monochromatic
#1A0507 #4A0E15 #7E1724 #B22033 #DA354A

Accessibility & contrast

On white

10.32
#7E1724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1724 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1724
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1724#FFFFFF#000000##FFFFFF
##7E17241.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363224
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1724;
/* rgb */ color: rgb(126, 23, 36);
/* oklch */ color: oklch(39.0% 0.137 20.2);
Tailwind
colors: {
  custom: {
    50: '#ab5f5e',
    500: '#7e1724',
    950: '#000000',
  },
}
SCSS
$custom: #7e1724;
$custom-light: #ab5f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1724",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 36
  },
  "hsl": {
    "h": 352.427,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.13659,
    "h": 20.2
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#7E1724
secondary
#3EB3A4
accent
#ECD63C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1724

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

Preview Lab → · Contrast checker → · Palette generator →

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