#7C1E2B#7C1E2B

#7C1E2B is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.128 H 17.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#7C1E2B
RGBrgb(124, 30, 43)
HSLhsl(352, 61%, 30%)
HSVhsv(352, 76%, 49%)
CMYKcmyk(0%, 75.8%, 65.3%, 51.4%)
CIE-LABlab(27.82, 40.82, 16.23)
CIE-LCHlch(27.82, 43.93, 21.69°)
OKLaboklab(39.36% 0.1216 0.0391)
OKLCHoklch(39.36% 0.128 17.8)
XYZxyz(9.2135, 5.3894, 2.8401)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E2B #1E7C6F
analogous
#7C1E5A #7C1E2B #7C401E
triadic
#7C1E2B #2B7C1E #1E2B7C
tetradic
#7C1E2B #5A7C1E #1E7C6F #401E7C
square
#7C1E2B #5A7C1E #1E7C6F #401E7C
split-complementary
#7C1E2B #1E7C40 #1E5A7C
monochromatic
#190609 #4B121A #7C1E2B #AD2A3C #D14357

Accessibility & contrast

On white

10.11
#7C1E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C1E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E2B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E2B#FFFFFF#000000##FFFFFF
##7C1E2B1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352B
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#880024
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1e2b;
/* rgb */ color: rgb(124, 30, 43);
/* oklch */ color: oklch(39.4% 0.128 17.8);
Tailwind
colors: {
  custom: {
    50: '#a86264',
    500: '#7c1e2b',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e2b;
$custom-light: #a86264;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e2b",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 351.702,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.12773,
    "h": 17.8
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#7C1E2B
secondary
#46AFA1
accent
#E4CE44
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7C1E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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