#7C181F#7C181F

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

Color values

HEX#7C181F
RGBrgb(124, 24, 31)
HSLhsl(356, 68%, 29%)
HSVhsv(356, 81%, 49%)
CMYKcmyk(0%, 80.6%, 75%, 51.4%)
CIE-LABlab(26.84, 42.27, 22.91)
CIE-LCHlch(26.84, 48.08, 28.47°)
OKLaboklab(38.57% 0.1235 0.0522)
OKLCHoklch(38.57% 0.134 22.9)
XYZxyz(8.8872, 5.0387, 1.8007)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C181F #187C75
analogous
#7C1851 #7C181F #7C4318
triadic
#7C181F #1F7C18 #181F7C
tetradic
#7C181F #517C18 #187C75 #43187C
square
#7C181F #517C18 #187C75 #43187C
split-complementary
#7C181F #187C43 #18517C
monochromatic
#1A0506 #490E12 #7C181F #AF222C #D83642

Accessibility & contrast

On white

10.46
#7C181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7C181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C181F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C181F#FFFFFF#000000##FFFFFF
##7C181F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36321E
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#89001C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c181f;
/* rgb */ color: rgb(124, 24, 31);
/* oklch */ color: oklch(38.6% 0.134 22.9);
Tailwind
colors: {
  custom: {
    50: '#a95f5a',
    500: '#7c181f',
    950: '#000000',
  },
}
SCSS
$custom: #7c181f;
$custom-light: #a95f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c181f",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 355.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.13405,
    "h": 22.9
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#7C181F
secondary
#3FB1A9
accent
#EADE3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7C181F

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

Preview Lab → · Contrast checker → · Palette generator →

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