#7E1127#7E1127

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

Color values

HEX#7E1127
RGBrgb(126, 17, 39)
HSLhsl(348, 76%, 28%)
HSVhsv(348, 87%, 49%)
CMYKcmyk(0%, 86.5%, 69%, 50.6%)
CIE-LABlab(26.69, 45.33, 17.54)
CIE-LCHlch(26.69, 48.60, 21.16°)
OKLaboklab(38.58% 0.1349 0.0416)
OKLCHoklch(38.58% 0.141 17.1)
XYZxyz(9.1719, 4.9844, 2.3982)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1127 #117E68
analogous
#7E115D #7E1127 #7E3111
triadic
#7E1127 #277E11 #11277E
tetradic
#7E1127 #5D7E11 #117E68 #31117E
square
#7E1127 #5D7E11 #117E68 #31117E
split-complementary
#7E1127 #117E31 #115D7E
monochromatic
#1B0408 #480A16 #7E1127 #B41838 #E2274D

Accessibility & contrast

On white

10.52
#7E1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1127
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1127#FFFFFF#000000##FFFFFF
##7E11271.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333127
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1127;
/* rgb */ color: rgb(126, 17, 39);
/* oklch */ color: oklch(38.6% 0.141 17.1);
Tailwind
colors: {
  custom: {
    50: '#ab5d60',
    500: '#7e1127',
    950: '#000000',
  },
}
SCSS
$custom: #7e1127;
$custom-light: #ab5d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1127",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 347.89,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3858,
    "c": 0.14115,
    "h": 17.1
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#7E1127
secondary
#37B49B
accent
#F3CC35
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7E1127

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

Preview Lab → · Contrast checker → · Palette generator →

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