#7C181C#7C181C

#7C181C is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.134 H 24.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#7C181C
RGBrgb(124, 24, 28)
HSLhsl(358, 68%, 29%)
HSVhsv(358, 81%, 49%)
CMYKcmyk(0%, 80.6%, 77.4%, 51.4%)
CIE-LABlab(26.80, 42.13, 24.79)
CIE-LCHlch(26.80, 48.88, 30.47°)
OKLaboklab(38.53% 0.1223 0.0556)
OKLCHoklch(38.53% 0.134 24.5)
XYZxyz(8.8495, 5.0236, 1.6021)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C181C #187C78
analogous
#7C184E #7C181C #7C4618
triadic
#7C181C #1C7C18 #181C7C
tetradic
#7C181C #4E7C18 #187C78 #46187C
square
#7C181C #4E7C18 #187C78 #46187C
split-complementary
#7C181C #187C46 #184E7C
monochromatic
#1A0506 #490E10 #7C181C #AF2228 #D8363D

Accessibility & contrast

On white

10.48
#7C181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7C181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C181C
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C181C#FFFFFF#000000##FFFFFF
##7C181C1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321B
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#89001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c181c;
/* rgb */ color: rgb(124, 24, 28);
/* oklch */ color: oklch(38.5% 0.134 24.5);
Tailwind
colors: {
  custom: {
    50: '#aa5f58',
    500: '#7c181c',
    950: '#000000',
  },
}
SCSS
$custom: #7c181c;
$custom-light: #aa5f58;
$custom-dark: #000000;
JSON
{
  "hex": "#7c181c",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 357.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3853,
    "c": 0.13436,
    "h": 24.5
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#7C181C
secondary
#3FB1AC
accent
#EAE43D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C181C

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

Preview Lab → · Contrast checker → · Palette generator →

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