#7E1A2E#7E1A2E

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

Color values

HEX#7E1A2E
RGBrgb(126, 26, 46)
HSLhsl(348, 66%, 30%)
HSVhsv(348, 79%, 49%)
CMYKcmyk(0%, 79.4%, 63.5%, 50.6%)
CIE-LABlab(27.77, 43.10, 14.25)
CIE-LCHlch(27.77, 45.40, 18.29°)
OKLaboklab(39.42% 0.1293 0.0348)
OKLCHoklch(39.42% 0.134 15.1)
XYZxyz(9.4677, 5.3731, 3.1228)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A2E #1A7E6A
analogous
#7E1A60 #7E1A2E #7E381A
triadic
#7E1A2E #2E7E1A #1A2E7E
tetradic
#7E1A2E #607E1A #1A7E6A #381A7E
square
#7E1A2E #607E1A #1A7E6A #381A7E
split-complementary
#7E1A2E #1A7E38 #1A607E
monochromatic
#190509 #4B101B #7E1A2E #B12441 #D73C5B

Accessibility & contrast

On white

10.12
#7E1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A2E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A2E#FFFFFF#000000##FFFFFF
##7E1A2E1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342E
Deuteranopia (green-blind)
#50492B
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1a2e;
/* rgb */ color: rgb(126, 26, 46);
/* oklch */ color: oklch(39.4% 0.134 15.1);
Tailwind
colors: {
  custom: {
    50: '#aa6166',
    500: '#7e1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a2e;
$custom-light: #aa6166;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a2e",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 348,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39425,
    "c": 0.13385,
    "h": 15.1
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#7E1A2E
secondary
#42B29C
accent
#E9C73F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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