#7E1518#7E1518

#7E1518 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.139 H 25.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7E1518
RGBrgb(126, 21, 24)
HSLhsl(358, 71%, 29%)
HSVhsv(358, 83%, 49%)
CMYKcmyk(0%, 83.3%, 81%, 50.6%)
CIE-LABlab(26.85, 43.54, 27.46)
CIE-LCHlch(26.85, 51.47, 32.24°)
OKLaboklab(38.62% 0.1256 0.0601)
OKLCHoklch(38.62% 0.139 25.6)
XYZxyz(9.0383, 5.0394, 1.3608)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1518 #157E7B
analogous
#7E154D #7E1518 #7E4715
triadic
#7E1518 #187E15 #15187E
tetradic
#7E1518 #4D7E15 #157E7B #47157E
square
#7E1518 #4D7E15 #157E7B #47157E
split-complementary
#7E1518 #157E47 #154D7E
monochromatic
#1A0405 #4A0C0E #7E1518 #B21E22 #DD3136

Accessibility & contrast

On white

10.46
#7E1518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1518
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1518#FFFFFF#000000##FFFFFF
##7E15181.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373117
Deuteranopia (green-blind)
#504813
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1518;
/* rgb */ color: rgb(126, 21, 24);
/* oklch */ color: oklch(38.6% 0.139 25.6);
Tailwind
colors: {
  custom: {
    50: '#ac5e55',
    500: '#7e1518',
    950: '#000000',
  },
}
SCSS
$custom: #7e1518;
$custom-light: #ac5e55;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1518",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 24
  },
  "hsl": {
    "h": 358.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38622,
    "c": 0.13922,
    "h": 25.6
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#7E1518
secondary
#3CB3B0
accent
#EEE93A
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7E1518

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

Preview Lab → · Contrast checker → · Palette generator →

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