#7E1628#7E1628

#7E1628 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.137 H 17.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7E1628
RGBrgb(126, 22, 40)
HSLhsl(350, 70%, 29%)
HSVhsv(350, 83%, 49%)
CMYKcmyk(0%, 82.5%, 68.3%, 50.6%)
CIE-LABlab(27.20, 44.00, 17.52)
CIE-LCHlch(27.20, 47.36, 21.71°)
OKLaboklab(38.96% 0.1309 0.0416)
OKLCHoklch(38.96% 0.137 17.7)
XYZxyz(9.2751, 5.1641, 2.5155)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1628 #167E6C
analogous
#7E165C #7E1628 #7E3816
triadic
#7E1628 #287E16 #16287E
tetradic
#7E1628 #5C7E16 #167E6C #38167E
square
#7E1628 #5C7E16 #167E6C #38167E
split-complementary
#7E1628 #167E38 #165C7E
monochromatic
#1A0508 #4A0D17 #7E1628 #B21F39 #DB3350

Accessibility & contrast

On white

10.33
#7E1628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1628
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1628#FFFFFF#000000##FFFFFF
##7E16281.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1628;
/* rgb */ color: rgb(126, 22, 40);
/* oklch */ color: oklch(39.0% 0.137 17.7);
Tailwind
colors: {
  custom: {
    50: '#aa5f61',
    500: '#7e1628',
    950: '#000000',
  },
}
SCSS
$custom: #7e1628;
$custom-light: #aa5f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1628",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 40
  },
  "hsl": {
    "h": 349.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38961,
    "c": 0.13732,
    "h": 17.7
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#7E1628
secondary
#3DB39E
accent
#EDCE3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7E1628

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

Preview Lab → · Contrast checker → · Palette generator →

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