#7E1A10#7E1A10

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

Color values

HEX#7E1A10
RGBrgb(126, 26, 16)
HSLhsl(5, 77%, 28%)
HSVhsv(5, 87%, 49%)
CMYKcmyk(0%, 79.4%, 87.3%, 50.6%)
CIE-LABlab(27.33, 41.69, 32.57)
CIE-LCHlch(27.33, 52.90, 38.00°)
OKLaboklab(38.96% 0.1181 0.0683)
OKLCHoklch(38.96% 0.136 30)
XYZxyz(9.0682, 5.2133, 1.0189)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A10 #10747E
analogous
#7E103D #7E1A10 #7E5110
triadic
#7E1A10 #107E1A #1A107E
tetradic
#7E1A10 #3D7E10 #10747E #51107E
square
#7E1A10 #3D7E10 #10747E #51107E
split-complementary
#7E1A10 #107E51 #103D7E
monochromatic
#1B0603 #480F09 #7E1A10 #B42517 #E33625

Accessibility & contrast

On white

10.28
#7E1A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A10
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A10#FFFFFF#000000##FFFFFF
##7E1A101.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39330D
Deuteranopia (green-blind)
#52480A
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a10;
/* rgb */ color: rgb(126, 26, 16);
/* oklch */ color: oklch(39.0% 0.136 30.0);
Tailwind
colors: {
  custom: {
    50: '#ac6050',
    500: '#7e1a10',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a10;
$custom-light: #ac6050;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a10",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 16
  },
  "hsl": {
    "h": 5.455,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38959,
    "c": 0.1364,
    "h": 30
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#7E1A10
secondary
#36A9B4
accent
#E3F434
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1A10

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

Preview Lab → · Contrast checker → · Palette generator →

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