#7C151A#7C151A

#7C151A is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.137 H 24.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#7C151A
RGBrgb(124, 21, 26)
HSLhsl(357, 71%, 28%)
HSVhsv(357, 83%, 49%)
CMYKcmyk(0%, 83.1%, 79%, 51.4%)
CIE-LABlab(26.44, 42.99, 25.65)
CIE-LCHlch(26.44, 50.06, 30.82°)
OKLaboklab(38.25% 0.1246 0.057)
OKLCHoklch(38.25% 0.137 24.6)
XYZxyz(8.7679, 4.8974, 1.4607)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C151A #157C77
analogous
#7C154D #7C151A #7C4315
triadic
#7C151A #1A7C15 #151A7C
tetradic
#7C151A #4D7C15 #157C77 #43157C
square
#7C151A #4D7C15 #157C77 #43157C
split-complementary
#7C151A #157C43 #154D7C
monochromatic
#1A0405 #480C0F #7C151A #B01E25 #DC3038

Accessibility & contrast

On white

10.61
#7C151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7C151A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C151A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C151A#FFFFFF#000000##FFFFFF
##7C151A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363019
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#890018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c151a;
/* rgb */ color: rgb(124, 21, 26);
/* oklch */ color: oklch(38.3% 0.137 24.6);
Tailwind
colors: {
  custom: {
    50: '#aa5e56',
    500: '#7c151a',
    950: '#000000',
  },
}
SCSS
$custom: #7c151a;
$custom-light: #aa5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#7c151a",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 357.087,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.13696,
    "h": 24.6
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#7C151A
secondary
#3CB1AC
accent
#EEE53A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C151A

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

Preview Lab → · Contrast checker → · Palette generator →

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