#7E1A28#7E1A28

#7E1A28 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.134 H 18.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7E1A28
RGBrgb(126, 26, 40)
HSLhsl(352, 66%, 30%)
HSVhsv(352, 79%, 49%)
CMYKcmyk(0%, 79.4%, 68.3%, 50.6%)
CIE-LABlab(27.65, 42.72, 18.09)
CIE-LCHlch(27.65, 46.39, 22.95°)
OKLaboklab(39.3% 0.1267 0.043)
OKLCHoklch(39.3% 0.134 18.7)
XYZxyz(9.3576, 5.3290, 2.5430)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A28 #1A7E70
analogous
#7E1A5A #7E1A28 #7E3E1A
triadic
#7E1A28 #287E1A #1A287E
tetradic
#7E1A28 #5A7E1A #1A7E70 #3E1A7E
square
#7E1A28 #5A7E1A #1A7E70 #3E1A7E
split-complementary
#7E1A28 #1A7E3E #1A5A7E
monochromatic
#190508 #4B1018 #7E1A28 #B12438 #D73C51

Accessibility & contrast

On white

10.17
#7E1A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A28
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A28#FFFFFF#000000##FFFFFF
##7E1A281.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1a28;
/* rgb */ color: rgb(126, 26, 40);
/* oklch */ color: oklch(39.3% 0.134 18.7);
Tailwind
colors: {
  custom: {
    50: '#aa6061',
    500: '#7e1a28',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a28;
$custom-light: #aa6061;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a28",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 351.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39298,
    "c": 0.13382,
    "h": 18.7
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#7E1A28
secondary
#42B2A2
accent
#E9D13F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1A28

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

Preview Lab → · Contrast checker → · Palette generator →

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