#7E1C2D#7E1C2D

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

Color values

HEX#7E1C2D
RGBrgb(126, 28, 45)
HSLhsl(350, 64%, 30%)
HSVhsv(350, 78%, 49%)
CMYKcmyk(0%, 77.8%, 64.3%, 50.6%)
CIE-LABlab(28.00, 42.34, 15.22)
CIE-LCHlch(28.00, 44.99, 19.77°)
OKLaboklab(39.59% 0.1266 0.0369)
OKLCHoklch(39.59% 0.132 16.3)
XYZxyz(9.4941, 5.4570, 3.0355)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C2D #1C7E6D
analogous
#7E1C5E #7E1C2D #7E3C1C
triadic
#7E1C2D #2D7E1C #1C2D7E
tetradic
#7E1C2D #5E7E1C #1C7E6D #3C1C7E
square
#7E1C2D #5E7E1C #1C7E6D #3C1C7E
split-complementary
#7E1C2D #1C7E3C #1C5E7E
monochromatic
#1A0609 #4C111B #7E1C2D #B0273F #D5405A

Accessibility & contrast

On white

10.04
#7E1C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1C2D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C2D#FFFFFF#000000##FFFFFF
##7E1C2D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352D
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1c2d;
/* rgb */ color: rgb(126, 28, 45);
/* oklch */ color: oklch(39.6% 0.132 16.3);
Tailwind
colors: {
  custom: {
    50: '#aa6165',
    500: '#7e1c2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c2d;
$custom-light: #aa6165;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c2d",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 349.592,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.13188,
    "h": 16.3
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#7E1C2D
secondary
#44B29F
accent
#E7CA41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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