#7E142C#7E142C

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

Color values

HEX#7E142C
RGBrgb(126, 20, 44)
HSLhsl(346, 73%, 29%)
HSVhsv(346, 84%, 49%)
CMYKcmyk(0%, 84.1%, 65.1%, 50.6%)
CIE-LABlab(27.07, 44.83, 14.67)
CIE-LCHlch(27.07, 47.17, 18.12°)
OKLaboklab(38.89% 0.1344 0.0356)
OKLCHoklch(38.89% 0.139 14.8)
XYZxyz(9.3100, 5.1192, 2.8803)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E142C #147E66
analogous
#7E1461 #7E142C #7E3114
triadic
#7E142C #2C7E14 #142C7E
tetradic
#7E142C #617E14 #147E66 #31147E
square
#7E142C #617E14 #147E66 #31147E
split-complementary
#7E142C #147E31 #14617E
monochromatic
#1A0409 #490C1A #7E142C #B31C3E #DE2E56

Accessibility & contrast

On white

10.38
#7E142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E142C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E142C#FFFFFF#000000##FFFFFF
##7E142C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322C
Deuteranopia (green-blind)
#4E4829
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e142c;
/* rgb */ color: rgb(126, 20, 44);
/* oklch */ color: oklch(38.9% 0.139 14.8);
Tailwind
colors: {
  custom: {
    50: '#aa5e64',
    500: '#7e142c',
    950: '#000000',
  },
}
SCSS
$custom: #7e142c;
$custom-light: #aa5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e142c",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 346.415,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38894,
    "c": 0.13903,
    "h": 14.8
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#7E142C
secondary
#3AB398
accent
#EFC638
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E142C

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

Preview Lab → · Contrast checker → · Palette generator →

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