#7C151E#7C151E

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

Color values

HEX#7C151E
RGBrgb(124, 21, 30)
HSLhsl(355, 71%, 28%)
HSVhsv(355, 83%, 49%)
CMYKcmyk(0%, 83.1%, 75.8%, 51.4%)
CIE-LABlab(26.50, 43.16, 23.16)
CIE-LCHlch(26.50, 48.98, 28.21°)
OKLaboklab(38.31% 0.1261 0.0525)
OKLCHoklch(38.31% 0.137 22.6)
XYZxyz(8.8157, 4.9166, 1.7129)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C151E #157C73
analogous
#7C1551 #7C151E #7C3F15
triadic
#7C151E #1E7C15 #151E7C
tetradic
#7C151E #517C15 #157C73 #3F157C
square
#7C151E #517C15 #157C73 #3F157C
split-complementary
#7C151E #157C3F #15517C
monochromatic
#1A0406 #480C11 #7C151E #B01E2B #DC303F

Accessibility & contrast

On white

10.59
#7C151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C151E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C151E#FFFFFF#000000##FFFFFF
##7C151E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311D
Deuteranopia (green-blind)
#4F461A
Tritanopia (blue-blind)
#89001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c151e;
/* rgb */ color: rgb(124, 21, 30);
/* oklch */ color: oklch(38.3% 0.137 22.6);
Tailwind
colors: {
  custom: {
    50: '#aa5e59',
    500: '#7c151e',
    950: '#000000',
  },
}
SCSS
$custom: #7c151e;
$custom-light: #aa5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7c151e",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 354.757,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38311,
    "c": 0.13658,
    "h": 22.6
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#7C151E
secondary
#3CB1A7
accent
#EEDE3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C151E

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

Preview Lab → · Contrast checker → · Palette generator →

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