#7E181D#7E181D

#7E181D is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.136 H 24.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7E181D
RGBrgb(126, 24, 29)
HSLhsl(357, 68%, 29%)
HSVhsv(357, 81%, 49%)
CMYKcmyk(0%, 81%, 77%, 50.6%)
CIE-LABlab(27.24, 42.81, 24.76)
CIE-LCHlch(27.24, 49.46, 30.04°)
OKLaboklab(38.93% 0.1244 0.0557)
OKLCHoklch(38.93% 0.136 24.1)
XYZxyz(9.1537, 5.1790, 1.6798)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E181D #187E79
analogous
#7E1850 #7E181D #7E4618
triadic
#7E181D #1D7E18 #181D7E
tetradic
#7E181D #507E18 #187E79 #46187E
square
#7E181D #507E18 #187E79 #46187E
split-complementary
#7E181D #187E46 #18507E
monochromatic
#1A0506 #4B0E11 #7E181D #B12229 #D9373F

Accessibility & contrast

On white

10.32
#7E181D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E181D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E181D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E181D#FFFFFF#000000##FFFFFF
##7E181D1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e181d;
/* rgb */ color: rgb(126, 24, 29);
/* oklch */ color: oklch(38.9% 0.136 24.1);
Tailwind
colors: {
  custom: {
    50: '#ab5f59',
    500: '#7e181d',
    950: '#000000',
  },
}
SCSS
$custom: #7e181d;
$custom-light: #ab5f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e181d",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 29
  },
  "hsl": {
    "h": 357.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38934,
    "c": 0.13633,
    "h": 24.1
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#7E181D
secondary
#3FB2AD
accent
#EBE23D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7E181D

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

Preview Lab → · Contrast checker → · Palette generator →

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