#7C151D#7C151D

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

Color values

HEX#7C151D
RGBrgb(124, 21, 29)
HSLhsl(355, 71%, 28%)
HSVhsv(355, 83%, 49%)
CMYKcmyk(0%, 83.1%, 76.6%, 51.4%)
CIE-LABlab(26.48, 43.12, 23.78)
CIE-LCHlch(26.48, 49.24, 28.88°)
OKLaboklab(38.3% 0.1257 0.0537)
OKLCHoklch(38.3% 0.137 23.1)
XYZxyz(8.8032, 4.9115, 1.6467)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C151D #157C74
analogous
#7C1550 #7C151D #7C4015
triadic
#7C151D #1D7C15 #151D7C
tetradic
#7C151D #507C15 #157C74 #40157C
square
#7C151D #507C15 #157C74 #40157C
split-complementary
#7C151D #157C40 #15507C
monochromatic
#1A0406 #480C11 #7C151D #B01E29 #DC303D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C151D#FFFFFF#000000##FFFFFF
##7C151D1.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)
#35311C
Deuteranopia (green-blind)
#4F4619
Tritanopia (blue-blind)
#890019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c151d;
/* rgb */ color: rgb(124, 21, 29);
/* oklch */ color: oklch(38.3% 0.137 23.1);
Tailwind
colors: {
  custom: {
    50: '#aa5e59',
    500: '#7c151d',
    950: '#000000',
  },
}
SCSS
$custom: #7c151d;
$custom-light: #aa5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7c151d",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 355.34,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.13666,
    "h": 23.1
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#7C151D
secondary
#3CB1A8
accent
#EEE03A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C151D

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

Preview Lab → · Contrast checker → · Palette generator →

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