#7E132A#7E132A

#7E132A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.140 H 15.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7E132A
RGBrgb(126, 19, 42)
HSLhsl(347, 74%, 28%)
HSVhsv(347, 85%, 49%)
CMYKcmyk(0%, 84.9%, 66.7%, 50.6%)
CIE-LABlab(26.93, 44.98, 15.84)
CIE-LCHlch(26.93, 47.69, 19.40°)
OKLaboklab(38.78% 0.1345 0.038)
OKLCHoklch(38.78% 0.14 15.8)
XYZxyz(9.2560, 5.0700, 2.6813)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E132A #137E67
analogous
#7E135F #7E132A #7E3113
triadic
#7E132A #2A7E13 #132A7E
tetradic
#7E132A #5F7E13 #137E67 #31137E
square
#7E132A #5F7E13 #137E67 #31137E
split-complementary
#7E132A #137E31 #135F7E
monochromatic
#1B0409 #490B18 #7E132A #B31B3C #DF2C53

Accessibility & contrast

On white

10.43
#7E132A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E132A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E132A
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E132A#FFFFFF#000000##FFFFFF
##7E132A1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322A
Deuteranopia (green-blind)
#4E4827
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e132a;
/* rgb */ color: rgb(126, 19, 42);
/* oklch */ color: oklch(38.8% 0.140 15.8);
Tailwind
colors: {
  custom: {
    50: '#aa5e63',
    500: '#7e132a',
    950: '#000000',
  },
}
SCSS
$custom: #7e132a;
$custom-light: #aa5e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e132a",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 42
  },
  "hsl": {
    "h": 347.103,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38778,
    "c": 0.13974,
    "h": 15.8
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#7E132A
secondary
#39B499
accent
#F0C937
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E132A

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

Preview Lab → · Contrast checker → · Palette generator →

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