#7C1A22#7C1A22

#7C1A22 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.132 H 21.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7C1A22
RGBrgb(124, 26, 34)
HSLhsl(355, 65%, 29%)
HSVhsv(355, 79%, 49%)
CMYKcmyk(0%, 79%, 72.6%, 51.4%)
CIE-LABlab(27.13, 41.74, 21.31)
CIE-LCHlch(27.13, 46.86, 27.04°)
OKLaboklab(38.8% 0.1225 0.0493)
OKLCHoklch(38.8% 0.132 21.9)
XYZxyz(8.9713, 5.1407, 2.0329)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A22 #1A7C74
analogous
#7C1A53 #7C1A22 #7C431A
triadic
#7C1A22 #227C1A #1A227C
tetradic
#7C1A22 #537C1A #1A7C74 #431A7C
square
#7C1A22 #537C1A #1A7C74 #431A7C
split-complementary
#7C1A22 #1A7C43 #1A537C
monochromatic
#190507 #490F14 #7C1A22 #AF2530 #D63B47

Accessibility & contrast

On white

10.36
#7C1A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7C1A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A22
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A22#FFFFFF#000000##FFFFFF
##7C1A221.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373321
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#89001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1a22;
/* rgb */ color: rgb(124, 26, 34);
/* oklch */ color: oklch(38.8% 0.132 21.9);
Tailwind
colors: {
  custom: {
    50: '#a9605d',
    500: '#7c1a22',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a22;
$custom-light: #a9605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a22",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 355.102,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38803,
    "c": 0.13204,
    "h": 21.9
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#7C1A22
secondary
#42B0A7
accent
#E8DB40
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7C1A22

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

Preview Lab → · Contrast checker → · Palette generator →

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