#7E142E#7E142E

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

Color values

HEX#7E142E
RGBrgb(126, 20, 46)
HSLhsl(345, 73%, 29%)
HSVhsv(345, 84%, 49%)
CMYKcmyk(0%, 84.1%, 63.5%, 50.6%)
CIE-LABlab(27.11, 44.96, 13.38)
CIE-LCHlch(27.11, 46.91, 16.57°)
OKLaboklab(38.94% 0.1353 0.0327)
OKLCHoklch(38.94% 0.139 13.6)
XYZxyz(9.3485, 5.1346, 3.0831)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E142E #147E64
analogous
#7E1463 #7E142E #7E2F14
triadic
#7E142E #2E7E14 #142E7E
tetradic
#7E142E #637E14 #147E64 #2F147E
square
#7E142E #637E14 #147E64 #2F147E
split-complementary
#7E142E #147E2F #14637E
monochromatic
#1A040A #490C1B #7E142E #B31C41 #DE2E5A

Accessibility & contrast

On white

10.36
#7E142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E142E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E142E#FFFFFF#000000##FFFFFF
##7E142E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322E
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e142e;
/* rgb */ color: rgb(126, 20, 46);
/* oklch */ color: oklch(38.9% 0.139 13.6);
Tailwind
colors: {
  custom: {
    50: '#aa5e66',
    500: '#7e142e',
    950: '#000000',
  },
}
SCSS
$custom: #7e142e;
$custom-light: #aa5e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e142e",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 345.283,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38939,
    "c": 0.13915,
    "h": 13.6
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#7E142E
secondary
#3AB396
accent
#EFC238
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E142E

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

Preview Lab → · Contrast checker → · Palette generator →

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