#7E1515#7E1515

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

Color values

HEX#7E1515
RGBrgb(126, 21, 21)
HSLhsl(0, 71%, 29%)
HSVhsv(0, 83%, 49%)
CMYKcmyk(0%, 83.3%, 83.3%, 50.6%)
CIE-LABlab(26.81, 43.43, 29.24)
CIE-LCHlch(26.81, 52.36, 33.95°)
OKLaboklab(38.59% 0.1246 0.063)
OKLCHoklch(38.59% 0.14 26.8)
XYZxyz(9.0088, 5.0276, 1.2054)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1515 #157E7E
analogous
#7E154A #7E1515 #7E4A15
triadic
#7E1515 #157E15 #15157E
tetradic
#7E1515 #4A7E15 #157E7E #4A157E
square
#7E1515 #4A7E15 #157E7E #4A157E
split-complementary
#7E1515 #157E4A #154A7E
monochromatic
#1A0404 #4A0C0C #7E1515 #B21E1E #DD3131

Accessibility & contrast

On white

10.47
#7E1515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1515
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1515#FFFFFF#000000##FFFFFF
##7E15151.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373113
Deuteranopia (green-blind)
#514710
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1515;
/* rgb */ color: rgb(126, 21, 21);
/* oklch */ color: oklch(38.6% 0.140 26.8);
Tailwind
colors: {
  custom: {
    50: '#ac5e53',
    500: '#7e1515',
    950: '#000000',
  },
}
SCSS
$custom: #7e1515;
$custom-light: #ac5e53;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1515",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 21
  },
  "hsl": {
    "h": 0,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38587,
    "c": 0.13957,
    "h": 26.8
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#7E1515
secondary
#3CB3B3
accent
#EEEE3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1515

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

Preview Lab → · Contrast checker → · Palette generator →

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