#7E1723#7E1723

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

Color values

HEX#7E1723
RGBrgb(126, 23, 35)
HSLhsl(353, 69%, 29%)
HSVhsv(353, 82%, 49%)
CMYKcmyk(0%, 81.7%, 72.2%, 50.6%)
CIE-LABlab(27.22, 43.42, 20.85)
CIE-LCHlch(27.22, 48.17, 25.66°)
OKLaboklab(38.95% 0.1278 0.0484)
OKLCHoklch(38.95% 0.137 20.7)
XYZxyz(9.2150, 5.1712, 2.1027)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1723 #177E72
analogous
#7E1757 #7E1723 #7E3F17
triadic
#7E1723 #237E17 #17237E
tetradic
#7E1723 #577E17 #177E72 #3F177E
square
#7E1723 #577E17 #177E72 #3F177E
split-complementary
#7E1723 #177E3F #17577E
monochromatic
#1A0507 #4A0E15 #7E1723 #B22031 #DA3548

Accessibility & contrast

On white

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

On black

2.03
#7E1723 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E1723#FFFFFF#000000##FFFFFF
##7E17231.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1723;
/* rgb */ color: rgb(126, 23, 35);
/* oklch */ color: oklch(38.9% 0.137 20.7);
Tailwind
colors: {
  custom: {
    50: '#ab5f5d',
    500: '#7e1723',
    950: '#000000',
  },
}
SCSS
$custom: #7e1723;
$custom-light: #ab5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1723",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 35
  },
  "hsl": {
    "h": 353.01,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38947,
    "c": 0.13665,
    "h": 20.7
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#7E1723
secondary
#3EB3A5
accent
#ECD73C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1723

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

Preview Lab → · Contrast checker → · Palette generator →

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