#7C1A28#7C1A28

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

Color values

HEX#7C1A28
RGBrgb(124, 26, 40)
HSLhsl(351, 65%, 29%)
HSVhsv(351, 79%, 49%)
CMYKcmyk(0%, 79%, 67.7%, 51.4%)
CIE-LABlab(27.24, 42.08, 17.48)
CIE-LCHlch(27.24, 45.57, 22.56°)
OKLaboklab(38.92% 0.125 0.0416)
OKLCHoklch(38.92% 0.132 18.4)
XYZxyz(9.0656, 5.1784, 2.5293)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A28 #1A7C6E
analogous
#7C1A59 #7C1A28 #7C3D1A
triadic
#7C1A28 #287C1A #1A287C
tetradic
#7C1A28 #597C1A #1A7C6E #3D1A7C
square
#7C1A28 #597C1A #1A7C6E #3D1A7C
split-complementary
#7C1A28 #1A7C3D #1A597C
monochromatic
#190508 #490F18 #7C1A28 #AF2538 #D63B51

Accessibility & contrast

On white

10.32
#7C1A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1A28
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A28#FFFFFF#000000##FFFFFF
##7C1A281.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#890020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1a28;
/* rgb */ color: rgb(124, 26, 40);
/* oklch */ color: oklch(38.9% 0.132 18.4);
Tailwind
colors: {
  custom: {
    50: '#a96061',
    500: '#7c1a28',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a28;
$custom-light: #a96061;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a28",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 351.429,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38915,
    "c": 0.13173,
    "h": 18.4
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#7C1A28
secondary
#42B0A0
accent
#E8D040
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7C1A28

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

Preview Lab → · Contrast checker → · Palette generator →

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