#7E1E24#7E1E24

#7E1E24 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.130 H 22.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7E1E24
RGBrgb(126, 30, 36)
HSLhsl(356, 62%, 31%)
HSVhsv(356, 76%, 49%)
CMYKcmyk(0%, 76.2%, 71.4%, 50.6%)
CIE-LABlab(28.10, 41.06, 21.27)
CIE-LCHlch(28.10, 46.24, 27.39°)
OKLaboklab(39.6% 0.1205 0.0495)
OKLCHoklch(39.6% 0.13 22.3)
XYZxyz(9.3879, 5.4930, 2.2346)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E24 #1E7E78
analogous
#7E1E54 #7E1E24 #7E481E
triadic
#7E1E24 #247E1E #1E247E
tetradic
#7E1E24 #547E1E #1E7E78 #481E7E
square
#7E1E24 #547E1E #1E7E78 #481E7E
split-complementary
#7E1E24 #1E7E48 #1E547E
monochromatic
#1B0608 #4D1216 #7E1E24 #AF2A32 #D2444D

Accessibility & contrast

On white

10.01
#7E1E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1E24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E24
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E24#FFFFFF#000000##FFFFFF
##7E1E241.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3523
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e24;
/* rgb */ color: rgb(126, 30, 36);
/* oklch */ color: oklch(39.6% 0.130 22.3);
Tailwind
colors: {
  custom: {
    50: '#aa625e',
    500: '#7e1e24',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e24;
$custom-light: #aa625e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e24",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 36
  },
  "hsl": {
    "h": 356.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39604,
    "c": 0.13027,
    "h": 22.3
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#7E1E24
secondary
#47B1AB
accent
#E5DB43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1E24

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

Preview Lab → · Contrast checker → · Palette generator →

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