#7E1B32#7E1B32

#7E1B32 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.6% C 0.133 H 12.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7E1B32
RGBrgb(126, 27, 50)
HSLhsl(346, 65%, 30%)
HSVhsv(346, 79%, 49%)
CMYKcmyk(0%, 78.6%, 60.3%, 50.6%)
CIE-LABlab(27.98, 43.05, 11.85)
CIE-LCHlch(27.98, 44.65, 15.39°)
OKLaboklab(39.61% 0.1299 0.0294)
OKLCHoklch(39.61% 0.133 12.8)
XYZxyz(9.5728, 5.4512, 3.5651)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B32 #1B7E67
analogous
#7E1B63 #7E1B32 #7E361B
triadic
#7E1B32 #327E1B #1B327E
tetradic
#7E1B32 #637E1B #1B7E67 #361B7E
square
#7E1B32 #637E1B #1B7E67 #361B7E
split-complementary
#7E1B32 #1B7E36 #1B637E
monochromatic
#19050A #4C101E #7E1B32 #B02646 #D63E61

Accessibility & contrast

On white

10.05
#7E1B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B32
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B32#FFFFFF#000000##FFFFFF
##7E1B321.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363532
Deuteranopia (green-blind)
#4F492F
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1b32;
/* rgb */ color: rgb(126, 27, 50);
/* oklch */ color: oklch(39.6% 0.133 12.8);
Tailwind
colors: {
  custom: {
    50: '#a96169',
    500: '#7e1b32',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b32;
$custom-light: #a96169;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b32",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 50
  },
  "hsl": {
    "h": 346.061,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.3961,
    "c": 0.13314,
    "h": 12.8
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#7E1B32
secondary
#43B298
accent
#E8C140
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1B32

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

Preview Lab → · Contrast checker → · Palette generator →

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