#7E151E#7E151E

#7E151E is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.139 H 22.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7E151E
RGBrgb(126, 21, 30)
HSLhsl(355, 71%, 29%)
HSVhsv(355, 83%, 49%)
CMYKcmyk(0%, 83.3%, 76.2%, 50.6%)
CIE-LABlab(26.93, 43.78, 23.76)
CIE-LCHlch(26.93, 49.81, 28.49°)
OKLaboklab(38.71% 0.1278 0.0537)
OKLCHoklch(38.71% 0.139 22.8)
XYZxyz(9.1078, 5.0671, 1.7265)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E151E #157E75
analogous
#7E1553 #7E151E #7E4115
triadic
#7E151E #1E7E15 #151E7E
tetradic
#7E151E #537E15 #157E75 #41157E
square
#7E151E #537E15 #157E75 #41157E
split-complementary
#7E151E #157E41 #15537E
monochromatic
#1A0406 #4A0C12 #7E151E #B21E2A #DD3140

Accessibility & contrast

On white

10.43
#7E151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E151E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E151E#FFFFFF#000000##FFFFFF
##7E151E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311D
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e151e;
/* rgb */ color: rgb(126, 21, 30);
/* oklch */ color: oklch(38.7% 0.139 22.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e59',
    500: '#7e151e',
    950: '#000000',
  },
}
SCSS
$custom: #7e151e;
$custom-light: #ab5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e151e",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 354.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38706,
    "c": 0.1386,
    "h": 22.8
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#7E151E
secondary
#3CB3A9
accent
#EEDF3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7E151E

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

Preview Lab → · Contrast checker → · Palette generator →

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