#7E142B#7E142B

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

Color values

HEX#7E142B
RGBrgb(126, 20, 43)
HSLhsl(347, 73%, 29%)
HSVhsv(347, 84%, 49%)
CMYKcmyk(0%, 84.1%, 65.9%, 50.6%)
CIE-LABlab(27.05, 44.77, 15.32)
CIE-LCHlch(27.05, 47.31, 18.89°)
OKLaboklab(38.87% 0.134 0.0369)
OKLCHoklch(38.87% 0.139 15.4)
XYZxyz(9.2914, 5.1118, 2.7825)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E142B #147E67
analogous
#7E1460 #7E142B #7E3214
triadic
#7E142B #2B7E14 #142B7E
tetradic
#7E142B #607E14 #147E67 #32147E
square
#7E142B #607E14 #147E67 #32147E
split-complementary
#7E142B #147E32 #14607E
monochromatic
#1A0409 #490C19 #7E142B #B31C3D #DE2E55

Accessibility & contrast

On white

10.39
#7E142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E142B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E142B
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E142B#FFFFFF#000000##FFFFFF
##7E142B1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322B
Deuteranopia (green-blind)
#4E4828
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e142b;
/* rgb */ color: rgb(126, 20, 43);
/* oklch */ color: oklch(38.9% 0.139 15.4);
Tailwind
colors: {
  custom: {
    50: '#aa5e64',
    500: '#7e142b',
    950: '#000000',
  },
}
SCSS
$custom: #7e142b;
$custom-light: #aa5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e142b",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 346.981,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38872,
    "c": 0.13898,
    "h": 15.4
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#7E142B
secondary
#3AB399
accent
#EFC838
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E142B

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

Preview Lab → · Contrast checker → · Palette generator →

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