#7E1E23#7E1E23

#7E1E23 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.130 H 22.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7E1E23
RGBrgb(126, 30, 35)
HSLhsl(357, 62%, 31%)
HSVhsv(357, 76%, 49%)
CMYKcmyk(0%, 76.2%, 72.2%, 50.6%)
CIE-LABlab(28.08, 41.01, 21.90)
CIE-LCHlch(28.08, 46.49, 28.10°)
OKLaboklab(39.59% 0.1201 0.0507)
OKLCHoklch(39.59% 0.13 22.9)
XYZxyz(9.3729, 5.4869, 2.1553)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E23 #1E7E79
analogous
#7E1E53 #7E1E23 #7E491E
triadic
#7E1E23 #237E1E #1E237E
tetradic
#7E1E23 #537E1E #1E7E79 #491E7E
square
#7E1E23 #537E1E #1E7E79 #491E7E
split-complementary
#7E1E23 #1E7E49 #1E537E
monochromatic
#1B0608 #4D1215 #7E1E23 #AF2A31 #D2444B

Accessibility & contrast

On white

10.01
#7E1E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E23
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E23#FFFFFF#000000##FFFFFF
##7E1E231.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3522
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e23;
/* rgb */ color: rgb(126, 30, 35);
/* oklch */ color: oklch(39.6% 0.130 22.9);
Tailwind
colors: {
  custom: {
    50: '#aa625e',
    500: '#7e1e23',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e23;
$custom-light: #aa625e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e23",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 356.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.13036,
    "h": 22.9
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#7E1E23
secondary
#47B1AC
accent
#E5DC43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1E23

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

Preview Lab → · Contrast checker → · Palette generator →

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