#7E1928#7E1928

#7E1928 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.135 H 18.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7E1928
RGBrgb(126, 25, 40)
HSLhsl(351, 67%, 30%)
HSVhsv(351, 80%, 49%)
CMYKcmyk(0%, 80.2%, 68.3%, 50.6%)
CIE-LABlab(27.53, 43.05, 17.94)
CIE-LCHlch(27.53, 46.64, 22.62°)
OKLaboklab(39.21% 0.1278 0.0426)
OKLCHoklch(39.21% 0.135 18.4)
XYZxyz(9.3358, 5.2855, 2.5357)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1928 #197E6F
analogous
#7E195B #7E1928 #7E3D19
triadic
#7E1928 #287E19 #19287E
tetradic
#7E1928 #5B7E19 #197E6F #3D197E
square
#7E1928 #5B7E19 #197E6F #3D197E
split-complementary
#7E1928 #197E3D #195B7E
monochromatic
#1A0508 #4B0F18 #7E1928 #B12338 #D83A51

Accessibility & contrast

On white

10.21
#7E1928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1928
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1928#FFFFFF#000000##FFFFFF
##7E19281.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373328
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1928;
/* rgb */ color: rgb(126, 25, 40);
/* oklch */ color: oklch(39.2% 0.135 18.4);
Tailwind
colors: {
  custom: {
    50: '#aa6061',
    500: '#7e1928',
    950: '#000000',
  },
}
SCSS
$custom: #7e1928;
$custom-light: #aa6061;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1928",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 40
  },
  "hsl": {
    "h": 351.089,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39209,
    "c": 0.13472,
    "h": 18.4
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#7E1928
secondary
#41B2A1
accent
#EAD03E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1928

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

Preview Lab → · Contrast checker → · Palette generator →

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