#7E1824#7E1824

#7E1824 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 20.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7E1824
RGBrgb(126, 24, 36)
HSLhsl(353, 68%, 29%)
HSVhsv(353, 81%, 49%)
CMYKcmyk(0%, 81%, 71.4%, 50.6%)
CIE-LABlab(27.35, 43.15, 20.35)
CIE-LCHlch(27.35, 47.71, 25.25°)
OKLaboklab(39.05% 0.1272 0.0474)
OKLCHoklch(39.05% 0.136 20.4)
XYZxyz(9.2503, 5.2177, 2.1888)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1824 #187E72
analogous
#7E1857 #7E1824 #7E3F18
triadic
#7E1824 #247E18 #18247E
tetradic
#7E1824 #577E18 #187E72 #3F187E
square
#7E1824 #577E18 #187E72 #3F187E
split-complementary
#7E1824 #187E3F #18577E
monochromatic
#1A0507 #4B0E15 #7E1824 #B12233 #D9374A

Accessibility & contrast

On white

10.28
#7E1824 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1824 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1824
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1824#FFFFFF#000000##FFFFFF
##7E18241.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1824;
/* rgb */ color: rgb(126, 24, 36);
/* oklch */ color: oklch(39.0% 0.136 20.4);
Tailwind
colors: {
  custom: {
    50: '#ab605e',
    500: '#7e1824',
    950: '#000000',
  },
}
SCSS
$custom: #7e1824;
$custom-light: #ab605e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1824",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 36
  },
  "hsl": {
    "h": 352.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.13576,
    "h": 20.4
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#7E1824
secondary
#3FB2A5
accent
#EBD63D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1824

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

Preview Lab → · Contrast checker → · Palette generator →

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