#7C151F#7C151F

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

Color values

HEX#7C151F
RGBrgb(124, 21, 31)
HSLhsl(354, 71%, 28%)
HSVhsv(354, 83%, 49%)
CMYKcmyk(0%, 83.1%, 75%, 51.4%)
CIE-LABlab(26.51, 43.21, 22.52)
CIE-LCHlch(26.51, 48.72, 27.53°)
OKLaboklab(38.33% 0.1265 0.0514)
OKLCHoklch(38.33% 0.137 22.1)
XYZxyz(8.8287, 4.9217, 1.7812)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C151F #157C72
analogous
#7C1552 #7C151F #7C3E15
triadic
#7C151F #1F7C15 #151F7C
tetradic
#7C151F #527C15 #157C72 #3E157C
square
#7C151F #527C15 #157C72 #3E157C
split-complementary
#7C151F #157C3E #15527C
monochromatic
#1A0407 #480C12 #7C151F #B01E2C #DC3040

Accessibility & contrast

On white

10.58
#7C151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C151F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C151F#FFFFFF#000000##FFFFFF
##7C151F1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c151f;
/* rgb */ color: rgb(124, 21, 31);
/* oklch */ color: oklch(38.3% 0.137 22.1);
Tailwind
colors: {
  custom: {
    50: '#aa5e5a',
    500: '#7c151f',
    950: '#000000',
  },
}
SCSS
$custom: #7c151f;
$custom-light: #aa5e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c151f",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 354.175,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.1365,
    "h": 22.1
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#7C151F
secondary
#3CB1A6
accent
#EEDC3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7C151F

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

Preview Lab → · Contrast checker → · Palette generator →

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