#7E1328#7E1328

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

Color values

HEX#7E1328
RGBrgb(126, 19, 40)
HSLhsl(348, 74%, 28%)
HSVhsv(348, 85%, 49%)
CMYKcmyk(0%, 84.9%, 68.3%, 50.6%)
CIE-LABlab(26.89, 44.86, 17.13)
CIE-LCHlch(26.89, 48.02, 20.90°)
OKLaboklab(38.74% 0.1336 0.0408)
OKLCHoklch(38.74% 0.14 17)
XYZxyz(9.2211, 5.0560, 2.4974)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1328 #137E69
analogous
#7E135D #7E1328 #7E3313
triadic
#7E1328 #287E13 #13287E
tetradic
#7E1328 #5D7E13 #137E69 #33137E
square
#7E1328 #5D7E13 #137E69 #33137E
split-complementary
#7E1328 #137E33 #135D7E
monochromatic
#1B0408 #490B17 #7E1328 #B31B39 #DF2C4F

Accessibility & contrast

On white

10.44
#7E1328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1328
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1328#FFFFFF#000000##FFFFFF
##7E13281.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343128
Deuteranopia (green-blind)
#4F4725
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1328;
/* rgb */ color: rgb(126, 19, 40);
/* oklch */ color: oklch(38.7% 0.140 17.0);
Tailwind
colors: {
  custom: {
    50: '#aa5e61',
    500: '#7e1328',
    950: '#000000',
  },
}
SCSS
$custom: #7e1328;
$custom-light: #aa5e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1328",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 348.224,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.1397,
    "h": 17
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#7E1328
secondary
#39B49C
accent
#F0CC37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7E1328

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

Preview Lab → · Contrast checker → · Palette generator →

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