#7C1E1F#7C1E1F

#7C1E1F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.129 H 24.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#7C1E1F
RGBrgb(124, 30, 31)
HSLhsl(359, 61%, 30%)
HSVhsv(359, 76%, 49%)
CMYKcmyk(0%, 75.8%, 75%, 51.4%)
CIE-LABlab(27.61, 40.13, 23.81)
CIE-LCHlch(27.61, 46.66, 30.68°)
OKLaboklab(39.15% 0.1167 0.0542)
OKLCHoklch(39.15% 0.129 24.9)
XYZxyz(9.0248, 5.3139, 1.8465)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E1F #1E7C7B
analogous
#7C1E4E #7C1E1F #7C4C1E
triadic
#7C1E1F #1F7C1E #1E1F7C
tetradic
#7C1E1F #4E7C1E #1E7C7B #4C1E7C
square
#7C1E1F #4E7C1E #1E7C7B #4C1E7C
split-complementary
#7C1E1F #1E7C4C #1E4E7C
monochromatic
#190606 #4B1213 #7C1E1F #AD2A2B #D14344

Accessibility & contrast

On white

10.18
#7C1E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7C1E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E1F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E1F#FFFFFF#000000##FFFFFF
##7C1E1F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341E
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#890020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1e1f;
/* rgb */ color: rgb(124, 30, 31);
/* oklch */ color: oklch(39.1% 0.129 24.9);
Tailwind
colors: {
  custom: {
    50: '#a9625a',
    500: '#7c1e1f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e1f;
$custom-light: #a9625a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e1f",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.362,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39145,
    "c": 0.12864,
    "h": 24.9
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#7C1E1F
secondary
#46AFAE
accent
#E4E244
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7C1E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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