#7E1E32#7E1E32

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

Color values

HEX#7E1E32
RGBrgb(126, 30, 50)
HSLhsl(348, 62%, 31%)
HSVhsv(348, 76%, 49%)
CMYKcmyk(0%, 76.2%, 60.3%, 50.6%)
CIE-LABlab(28.37, 41.97, 12.37)
CIE-LCHlch(28.37, 43.76, 16.42°)
OKLaboklab(39.9% 0.1264 0.0306)
OKLCHoklch(39.9% 0.13 13.6)
XYZxyz(9.6451, 5.5958, 3.5892)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E32 #1E7E6A
analogous
#7E1E62 #7E1E32 #7E3A1E
triadic
#7E1E32 #327E1E #1E327E
tetradic
#7E1E32 #627E1E #1E7E6A #3A1E7E
square
#7E1E32 #627E1E #1E7E6A #3A1E7E
split-complementary
#7E1E32 #1E7E3A #1E627E
monochromatic
#1B060B #4D121E #7E1E32 #AF2A46 #D24462

Accessibility & contrast

On white

9.91
#7E1E32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E32
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E32#FFFFFF#000000##FFFFFF
##7E1E321.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383632
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#8A0126
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e32;
/* rgb */ color: rgb(126, 30, 50);
/* oklch */ color: oklch(39.9% 0.130 13.6);
Tailwind
colors: {
  custom: {
    50: '#a96269',
    500: '#7e1e32',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e32;
$custom-light: #a96269;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e32",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 50
  },
  "hsl": {
    "h": 347.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.13005,
    "h": 13.6
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#7E1E32
secondary
#47B19B
accent
#E5C343
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1E32

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

Preview Lab → · Contrast checker → · Palette generator →

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