#7E142D#7E142D

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

Color values

HEX#7E142D
RGBrgb(126, 20, 45)
HSLhsl(346, 73%, 29%)
HSVhsv(346, 84%, 49%)
CMYKcmyk(0%, 84.1%, 64.3%, 50.6%)
CIE-LABlab(27.09, 44.89, 14.02)
CIE-LCHlch(27.09, 47.03, 17.35°)
OKLaboklab(38.92% 0.1348 0.0342)
OKLCHoklch(38.92% 0.139 14.2)
XYZxyz(9.3290, 5.1268, 2.9805)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E142D #147E65
analogous
#7E1462 #7E142D #7E3014
triadic
#7E142D #2D7E14 #142D7E
tetradic
#7E142D #627E14 #147E65 #30147E
square
#7E142D #627E14 #147E65 #30147E
split-complementary
#7E142D #147E30 #14627E
monochromatic
#1A0409 #490C1A #7E142D #B31C40 #DE2E58

Accessibility & contrast

On white

10.37
#7E142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E142D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E142D#FFFFFF#000000##FFFFFF
##7E142D1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e142d;
/* rgb */ color: rgb(126, 20, 45);
/* oklch */ color: oklch(38.9% 0.139 14.2);
Tailwind
colors: {
  custom: {
    50: '#aa5e65',
    500: '#7e142d',
    950: '#000000',
  },
}
SCSS
$custom: #7e142d;
$custom-light: #aa5e65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e142d",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 345.849,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.13909,
    "h": 14.2
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#7E142D
secondary
#3AB397
accent
#EFC438
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E142D

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

Preview Lab → · Contrast checker → · Palette generator →

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