#7E1E34#7E1E34

#7E1E34 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.130 H 12.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7E1E34
RGBrgb(126, 30, 52)
HSLhsl(346, 62%, 31%)
HSVhsv(346, 76%, 49%)
CMYKcmyk(0%, 76.2%, 58.7%, 50.6%)
CIE-LABlab(28.42, 42.12, 11.10)
CIE-LCHlch(28.42, 43.56, 14.76°)
OKLaboklab(39.95% 0.1272 0.0277)
OKLCHoklch(39.95% 0.13 12.3)
XYZxyz(9.6892, 5.6135, 3.8214)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E34 #1E7E68
analogous
#7E1E64 #7E1E34 #7E381E
triadic
#7E1E34 #347E1E #1E347E
tetradic
#7E1E34 #647E1E #1E7E68 #381E7E
square
#7E1E34 #647E1E #1E7E68 #381E7E
split-complementary
#7E1E34 #1E7E38 #1E647E
monochromatic
#1B060B #4D1220 #7E1E34 #AF2A48 #D24465

Accessibility & contrast

On white

9.89
#7E1E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E34
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E34#FFFFFF#000000##FFFFFF
##7E1E341.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373634
Deuteranopia (green-blind)
#504A32
Tritanopia (blue-blind)
#8A0327
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e34;
/* rgb */ color: rgb(126, 30, 52);
/* oklch */ color: oklch(39.9% 0.130 12.3);
Tailwind
colors: {
  custom: {
    50: '#a9626b',
    500: '#7e1e34',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e34;
$custom-light: #a9626b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e34",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 52
  },
  "hsl": {
    "h": 346.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39946,
    "c": 0.13021,
    "h": 12.3
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#7E1E34
secondary
#47B199
accent
#E5C043
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1E34

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

Preview Lab → · Contrast checker → · Palette generator →

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