#7E1A2C#7E1A2C

#7E1A2C is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.134 H 16.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7E1A2C
RGBrgb(126, 26, 44)
HSLhsl(349, 66%, 30%)
HSVhsv(349, 79%, 49%)
CMYKcmyk(0%, 79.4%, 65.1%, 50.6%)
CIE-LABlab(27.73, 42.97, 15.53)
CIE-LCHlch(27.73, 45.69, 19.87°)
OKLaboklab(39.38% 0.1284 0.0376)
OKLCHoklch(39.38% 0.134 16.3)
XYZxyz(9.4292, 5.3577, 2.9200)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A2C #1A7E6C
analogous
#7E1A5E #7E1A2C #7E3A1A
triadic
#7E1A2C #2C7E1A #1A2C7E
tetradic
#7E1A2C #5E7E1A #1A7E6C #3A1A7E
square
#7E1A2C #5E7E1A #1A7E6C #3A1A7E
split-complementary
#7E1A2C #1A7E3A #1A5E7E
monochromatic
#190509 #4B101A #7E1A2C #B1243E #D73C58

Accessibility & contrast

On white

10.14
#7E1A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A2C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A2C#FFFFFF#000000##FFFFFF
##7E1A2C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342C
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a2c;
/* rgb */ color: rgb(126, 26, 44);
/* oklch */ color: oklch(39.4% 0.134 16.3);
Tailwind
colors: {
  custom: {
    50: '#aa6164',
    500: '#7e1a2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a2c;
$custom-light: #aa6164;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a2c",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 349.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.1338,
    "h": 16.3
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#7E1A2C
secondary
#42B29E
accent
#E9CA3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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