#7C151B#7C151B

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

Color values

HEX#7C151B
RGBrgb(124, 21, 27)
HSLhsl(357, 71%, 28%)
HSVhsv(357, 83%, 49%)
CMYKcmyk(0%, 83.1%, 78.2%, 51.4%)
CIE-LABlab(26.45, 43.03, 25.03)
CIE-LCHlch(26.45, 49.78, 30.19°)
OKLaboklab(38.27% 0.1249 0.0559)
OKLCHoklch(38.27% 0.137 24.1)
XYZxyz(8.7792, 4.9020, 1.5206)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C151B #157C76
analogous
#7C154E #7C151B #7C4215
triadic
#7C151B #1B7C15 #151B7C
tetradic
#7C151B #4E7C15 #157C76 #42157C
square
#7C151B #4E7C15 #157C76 #42157C
split-complementary
#7C151B #157C42 #154E7C
monochromatic
#1A0406 #480C10 #7C151B #B01E26 #DC303A

Accessibility & contrast

On white

10.60
#7C151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C151B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C151B#FFFFFF#000000##FFFFFF
##7C151B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36301A
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#890019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c151b;
/* rgb */ color: rgb(124, 21, 27);
/* oklch */ color: oklch(38.3% 0.137 24.1);
Tailwind
colors: {
  custom: {
    50: '#aa5e57',
    500: '#7c151b',
    950: '#000000',
  },
}
SCSS
$custom: #7c151b;
$custom-light: #aa5e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7c151b",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 356.505,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38267,
    "c": 0.13686,
    "h": 24.1
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#7C151B
secondary
#3CB1AA
accent
#EEE33A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C151B

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

Preview Lab → · Contrast checker → · Palette generator →

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