#7E1024#7E1024

#7E1024 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.5% C 0.142 H 18.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#7E1024
RGBrgb(126, 16, 36)
HSLhsl(349, 77%, 28%)
HSVhsv(349, 87%, 49%)
CMYKcmyk(0%, 87.3%, 71.4%, 50.6%)
CIE-LABlab(26.55, 45.41, 19.37)
CIE-LCHlch(26.55, 49.37, 23.10°)
OKLaboklab(38.46% 0.1344 0.0452)
OKLCHoklch(38.46% 0.142 18.6)
XYZxyz(9.1090, 4.9350, 2.1417)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1024 #107E6A
analogous
#7E105B #7E1024 #7E3310
triadic
#7E1024 #247E10 #10247E
tetradic
#7E1024 #5B7E10 #107E6A #33107E
square
#7E1024 #5B7E10 #107E6A #33107E
split-complementary
#7E1024 #107E33 #105B7E
monochromatic
#1B0308 #480914 #7E1024 #B41734 #E32548

Accessibility & contrast

On white

10.57
#7E1024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E1024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1024
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1024#FFFFFF#000000##FFFFFF
##7E10241.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333024
Deuteranopia (green-blind)
#4E4721
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1024;
/* rgb */ color: rgb(126, 16, 36);
/* oklch */ color: oklch(38.5% 0.142 18.6);
Tailwind
colors: {
  custom: {
    50: '#ab5d5e',
    500: '#7e1024',
    950: '#000000',
  },
}
SCSS
$custom: #7e1024;
$custom-light: #ab5d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1024",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 349.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.14186,
    "h": 18.6
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#7E1024
secondary
#36B49D
accent
#F4D134
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1024

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

Preview Lab → · Contrast checker → · Palette generator →

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