#7E151C#7E151C

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

Color values

HEX#7E151C
RGBrgb(126, 21, 28)
HSLhsl(356, 71%, 29%)
HSVhsv(356, 83%, 49%)
CMYKcmyk(0%, 83.3%, 77.8%, 50.6%)
CIE-LABlab(26.90, 43.69, 25.01)
CIE-LCHlch(26.90, 50.35, 29.79°)
OKLaboklab(38.68% 0.127 0.056)
OKLCHoklch(38.68% 0.139 23.8)
XYZxyz(9.0830, 5.0572, 1.5963)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E151C #157E77
analogous
#7E1551 #7E151C #7E4315
triadic
#7E151C #1C7E15 #151C7E
tetradic
#7E151C #517E15 #157E77 #43157E
square
#7E151C #517E15 #157E77 #43157E
split-complementary
#7E151C #157E43 #15517E
monochromatic
#1A0406 #4A0C10 #7E151C #B21E28 #DD313C

Accessibility & contrast

On white

10.44
#7E151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E151C
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E151C#FFFFFF#000000##FFFFFF
##7E151C1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311B
Deuteranopia (green-blind)
#504818
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e151c;
/* rgb */ color: rgb(126, 21, 28);
/* oklch */ color: oklch(38.7% 0.139 23.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e58',
    500: '#7e151c',
    950: '#000000',
  },
}
SCSS
$custom: #7e151c;
$custom-light: #ab5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e151c",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 356,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.13878,
    "h": 23.8
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#7E151C
secondary
#3CB3AB
accent
#EEE23A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E151C

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

Preview Lab → · Contrast checker → · Palette generator →

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