#7E1C2F#7E1C2F

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

Color values

HEX#7E1C2F
RGBrgb(126, 28, 47)
HSLhsl(348, 64%, 30%)
HSVhsv(348, 78%, 49%)
CMYKcmyk(0%, 77.8%, 62.7%, 50.6%)
CIE-LABlab(28.04, 42.48, 13.94)
CIE-LCHlch(28.04, 44.71, 18.16°)
OKLaboklab(39.63% 0.1275 0.0341)
OKLCHoklch(39.63% 0.132 15)
XYZxyz(9.5335, 5.4728, 3.2431)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C2F #1C7E6B
analogous
#7E1C60 #7E1C2F #7E3A1C
triadic
#7E1C2F #2F7E1C #1C2F7E
tetradic
#7E1C2F #607E1C #1C7E6B #3A1C7E
square
#7E1C2F #607E1C #1C7E6B #3A1C7E
split-complementary
#7E1C2F #1C7E3A #1C607E
monochromatic
#1A060A #4C111C #7E1C2F #B02742 #D5405D

Accessibility & contrast

On white

10.03
#7E1C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1C2F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C2F#FFFFFF#000000##FFFFFF
##7E1C2F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1c2f;
/* rgb */ color: rgb(126, 28, 47);
/* oklch */ color: oklch(39.6% 0.132 15.0);
Tailwind
colors: {
  custom: {
    50: '#aa6167',
    500: '#7e1c2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c2f;
$custom-light: #aa6167;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c2f",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 348.367,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.13195,
    "h": 15
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#7E1C2F
secondary
#44B29C
accent
#E7C741
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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