#7E1C15#7E1C15

#7E1C15 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 28.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7E1C15
RGBrgb(126, 28, 21)
HSLhsl(4, 71%, 29%)
HSVhsv(4, 83%, 49%)
CMYKcmyk(0%, 77.8%, 83.3%, 50.6%)
CIE-LABlab(27.63, 41.13, 30.06)
CIE-LCHlch(27.63, 50.95, 36.16°)
OKLaboklab(39.2% 0.1173 0.0648)
OKLCHoklch(39.2% 0.134 28.9)
XYZxyz(9.1559, 5.3217, 1.2544)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C15 #15777E
analogous
#7E1543 #7E1C15 #7E5115
triadic
#7E1C15 #157E1C #1C157E
tetradic
#7E1C15 #437E15 #15777E #51157E
square
#7E1C15 #437E15 #15777E #51157E
split-complementary
#7E1C15 #157E51 #15437E
monochromatic
#1A0604 #4A100C #7E1C15 #B2281E #DD3C31

Accessibility & contrast

On white

10.17
#7E1C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1C15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C15
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C15#FFFFFF#000000##FFFFFF
##7E1C151.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3413
Deuteranopia (green-blind)
#524910
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1c15;
/* rgb */ color: rgb(126, 28, 21);
/* oklch */ color: oklch(39.2% 0.134 28.9);
Tailwind
colors: {
  custom: {
    50: '#ac6153',
    500: '#7e1c15',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c15;
$custom-light: #ac6153;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c15",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 21
  },
  "hsl": {
    "h": 4,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39196,
    "c": 0.13402,
    "h": 28.9
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#7E1C15
secondary
#3CABB3
accent
#E2EE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1C15

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

Preview Lab → · Contrast checker → · Palette generator →

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