#7E1124#7E1124

#7E1124 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.141 H 18.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7E1124
RGBrgb(126, 17, 36)
HSLhsl(350, 76%, 28%)
HSVhsv(350, 87%, 49%)
CMYKcmyk(0%, 86.5%, 71.4%, 50.6%)
CIE-LABlab(26.64, 45.16, 19.48)
CIE-LCHlch(26.64, 49.19, 23.33°)
OKLaboklab(38.52% 0.1337 0.0455)
OKLCHoklch(38.52% 0.141 18.8)
XYZxyz(9.1241, 4.9653, 2.1467)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1124 #117E6B
analogous
#7E115A #7E1124 #7E3411
triadic
#7E1124 #247E11 #11247E
tetradic
#7E1124 #5A7E11 #117E6B #34117E
square
#7E1124 #5A7E11 #117E6B #34117E
split-complementary
#7E1124 #117E34 #115A7E
monochromatic
#1B0408 #480A15 #7E1124 #B41833 #E22748

Accessibility & contrast

On white

10.54
#7E1124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1124
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1124#FFFFFF#000000##FFFFFF
##7E11241.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1124;
/* rgb */ color: rgb(126, 17, 36);
/* oklch */ color: oklch(38.5% 0.141 18.8);
Tailwind
colors: {
  custom: {
    50: '#ab5d5e',
    500: '#7e1124',
    950: '#000000',
  },
}
SCSS
$custom: #7e1124;
$custom-light: #ab5d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1124",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 36
  },
  "hsl": {
    "h": 349.541,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38522,
    "c": 0.14118,
    "h": 18.8
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#7E1124
secondary
#37B49E
accent
#F3D235
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1124

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

Preview Lab → · Contrast checker → · Palette generator →

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