#7E1224#7E1224

#7E1224 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 19.0°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#7E1224
RGBrgb(126, 18, 36)
HSLhsl(350, 75%, 28%)
HSVhsv(350, 86%, 49%)
CMYKcmyk(0%, 85.7%, 71.4%, 50.6%)
CIE-LABlab(26.73, 44.91, 19.59)
CIE-LCHlch(26.73, 48.99, 23.57°)
OKLaboklab(38.59% 0.1328 0.0457)
OKLCHoklch(38.59% 0.14 19)
XYZxyz(9.1400, 4.9971, 2.1520)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1224 #127E6C
analogous
#7E125A #7E1224 #7E3612
triadic
#7E1224 #247E12 #12247E
tetradic
#7E1224 #5A7E12 #127E6C #36127E
square
#7E1224 #5A7E12 #127E6C #36127E
split-complementary
#7E1224 #127E36 #125A7E
monochromatic
#1B0408 #480A15 #7E1224 #B41A33 #E12A48

Accessibility & contrast

On white

10.50
#7E1224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1224
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1224#FFFFFF#000000##FFFFFF
##7E12241.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343124
Deuteranopia (green-blind)
#4F4721
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1224;
/* rgb */ color: rgb(126, 18, 36);
/* oklch */ color: oklch(38.6% 0.140 19.0);
Tailwind
colors: {
  custom: {
    50: '#ab5d5e',
    500: '#7e1224',
    950: '#000000',
  },
}
SCSS
$custom: #7e1224;
$custom-light: #ab5d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1224",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 36
  },
  "hsl": {
    "h": 350,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.14047,
    "h": 19
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#7E1224
secondary
#38B49F
accent
#F2D236
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1224

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

Preview Lab → · Contrast checker → · Palette generator →

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