#7C1A2A#7C1A2A

#7C1A2A is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.132 H 17.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7C1A2A
RGBrgb(124, 26, 42)
HSLhsl(350, 65%, 29%)
HSVhsv(350, 79%, 49%)
CMYKcmyk(0%, 79%, 66.1%, 51.4%)
CIE-LABlab(27.28, 42.21, 16.20)
CIE-LCHlch(27.28, 45.21, 21.00°)
OKLaboklab(38.96% 0.1258 0.0389)
OKLCHoklch(38.96% 0.132 17.2)
XYZxyz(9.1005, 5.1924, 2.7131)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A2A #1A7C6C
analogous
#7C1A5B #7C1A2A #7C3B1A
triadic
#7C1A2A #2A7C1A #1A2A7C
tetradic
#7C1A2A #5B7C1A #1A7C6C #3B1A7C
square
#7C1A2A #5B7C1A #1A7C6C #3B1A7C
split-complementary
#7C1A2A #1A7C3B #1A5B7C
monochromatic
#190509 #490F19 #7C1A2A #AF253B #D63B54

Accessibility & contrast

On white

10.30
#7C1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7C1A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A2A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A2A#FFFFFF#000000##FFFFFF
##7C1A2A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36332A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1a2a;
/* rgb */ color: rgb(124, 26, 42);
/* oklch */ color: oklch(39.0% 0.132 17.2);
Tailwind
colors: {
  custom: {
    50: '#a86063',
    500: '#7c1a2a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a2a;
$custom-light: #a86063;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a2a",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 350.204,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38957,
    "c": 0.13171,
    "h": 17.2
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#7C1A2A
secondary
#42B09E
accent
#E8CD40
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7C1A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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