#7E1623#7E1623

#7E1623 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.137 H 20.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7E1623
RGBrgb(126, 22, 35)
HSLhsl(353, 70%, 29%)
HSVhsv(353, 83%, 49%)
CMYKcmyk(0%, 82.5%, 72.2%, 50.6%)
CIE-LABlab(27.11, 43.72, 20.72)
CIE-LCHlch(27.11, 48.39, 25.36°)
OKLaboklab(38.87% 0.1288 0.0481)
OKLCHoklch(38.87% 0.137 20.5)
XYZxyz(9.1955, 5.1322, 2.0962)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1623 #167E71
analogous
#7E1657 #7E1623 #7E3D16
triadic
#7E1623 #237E16 #16237E
tetradic
#7E1623 #577E16 #167E71 #3D167E
square
#7E1623 #577E16 #167E71 #3D167E
split-complementary
#7E1623 #167E3D #16577E
monochromatic
#1A0507 #4A0D15 #7E1623 #B21F31 #DB3348

Accessibility & contrast

On white

10.36
#7E1623 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1623
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1623#FFFFFF#000000##FFFFFF
##7E16231.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363223
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1623;
/* rgb */ color: rgb(126, 22, 35);
/* oklch */ color: oklch(38.9% 0.137 20.5);
Tailwind
colors: {
  custom: {
    50: '#ab5f5d',
    500: '#7e1623',
    950: '#000000',
  },
}
SCSS
$custom: #7e1623;
$custom-light: #ab5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1623",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 35
  },
  "hsl": {
    "h": 352.5,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38866,
    "c": 0.13747,
    "h": 20.5
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#7E1623
secondary
#3DB3A4
accent
#EDD73B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1623

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

Preview Lab → · Contrast checker → · Palette generator →

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