#7E1A23#7E1A23

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

Color values

HEX#7E1A23
RGBrgb(126, 26, 35)
HSLhsl(355, 66%, 30%)
HSVhsv(355, 79%, 49%)
CMYKcmyk(0%, 79.4%, 72.2%, 50.6%)
CIE-LABlab(27.57, 42.44, 21.28)
CIE-LCHlch(27.57, 47.47, 26.63°)
OKLaboklab(39.21% 0.1247 0.0493)
OKLCHoklch(39.21% 0.134 21.6)
XYZxyz(9.2780, 5.2972, 2.1237)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A23 #1A7E75
analogous
#7E1A55 #7E1A23 #7E431A
triadic
#7E1A23 #237E1A #1A237E
tetradic
#7E1A23 #557E1A #1A7E75 #431A7E
square
#7E1A23 #557E1A #1A7E75 #431A7E
split-complementary
#7E1A23 #1A7E43 #1A557E
monochromatic
#190507 #4B1015 #7E1A23 #B12431 #D73C4A

Accessibility & contrast

On white

10.20
#7E1A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A23
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A23#FFFFFF#000000##FFFFFF
##7E1A231.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383322
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a23;
/* rgb */ color: rgb(126, 26, 35);
/* oklch */ color: oklch(39.2% 0.134 21.6);
Tailwind
colors: {
  custom: {
    50: '#ab605d',
    500: '#7e1a23',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a23;
$custom-light: #ab605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a23",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 354.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39205,
    "c": 0.13407,
    "h": 21.6
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#7E1A23
secondary
#42B2A8
accent
#E9D93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1A23

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

Preview Lab → · Contrast checker → · Palette generator →

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