#7E1924#7E1924

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

Color values

HEX#7E1924
RGBrgb(126, 25, 36)
HSLhsl(353, 67%, 30%)
HSVhsv(353, 80%, 49%)
CMYKcmyk(0%, 80.2%, 71.4%, 50.6%)
CIE-LABlab(27.46, 42.83, 20.50)
CIE-LCHlch(27.46, 47.48, 25.57°)
OKLaboklab(39.13% 0.1262 0.0477)
OKLCHoklch(39.13% 0.135 20.7)
XYZxyz(9.2713, 5.2597, 2.1958)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1924 #197E73
analogous
#7E1957 #7E1924 #7E4019
triadic
#7E1924 #247E19 #19247E
tetradic
#7E1924 #577E19 #197E73 #40197E
square
#7E1924 #577E19 #197E73 #40197E
split-complementary
#7E1924 #197E40 #19577E
monochromatic
#1A0507 #4B0F15 #7E1924 #B12333 #D83A4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1924#FFFFFF#000000##FFFFFF
##7E19241.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)
#373324
Deuteranopia (green-blind)
#504921
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1924;
/* rgb */ color: rgb(126, 25, 36);
/* oklch */ color: oklch(39.1% 0.135 20.7);
Tailwind
colors: {
  custom: {
    50: '#ab605e',
    500: '#7e1924',
    950: '#000000',
  },
}
SCSS
$custom: #7e1924;
$custom-light: #ab605e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1924",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 36
  },
  "hsl": {
    "h": 353.465,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39134,
    "c": 0.13489,
    "h": 20.7
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#7E1924
secondary
#41B2A6
accent
#EAD73E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1924

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

Preview Lab → · Contrast checker → · Palette generator →

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