#7E1C2C#7E1C2C

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

Color values

HEX#7E1C2C
RGBrgb(126, 28, 44)
HSLhsl(350, 64%, 30%)
HSVhsv(350, 78%, 49%)
CMYKcmyk(0%, 77.8%, 65.1%, 50.6%)
CIE-LABlab(27.98, 42.28, 15.86)
CIE-LCHlch(27.98, 45.15, 20.56°)
OKLaboklab(39.57% 0.1262 0.0383)
OKLCHoklch(39.57% 0.132 16.9)
XYZxyz(9.4751, 5.4494, 2.9353)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C2C #1C7E6E
analogous
#7E1C5D #7E1C2C #7E3D1C
triadic
#7E1C2C #2C7E1C #1C2C7E
tetradic
#7E1C2C #5D7E1C #1C7E6E #3D1C7E
square
#7E1C2C #5D7E1C #1C7E6E #3D1C7E
split-complementary
#7E1C2C #1C7E3D #1C5D7E
monochromatic
#1A0609 #4C111B #7E1C2C #B0273D #D54058

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1C2C#FFFFFF#000000##FFFFFF
##7E1C2C1.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)
#37352C
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1c2c;
/* rgb */ color: rgb(126, 28, 44);
/* oklch */ color: oklch(39.6% 0.132 16.9);
Tailwind
colors: {
  custom: {
    50: '#aa6164',
    500: '#7e1c2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c2c;
$custom-light: #aa6164;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c2c",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 44
  },
  "hsl": {
    "h": 350.204,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.13187,
    "h": 16.9
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#7E1C2C
secondary
#44B2A0
accent
#E7CC41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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