#7C181E#7C181E

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

Color values

HEX#7C181E
RGBrgb(124, 24, 30)
HSLhsl(356, 68%, 29%)
HSVhsv(356, 81%, 49%)
CMYKcmyk(0%, 80.6%, 75.8%, 51.4%)
CIE-LABlab(26.83, 42.22, 23.54)
CIE-LCHlch(26.83, 48.34, 29.15°)
OKLaboklab(38.56% 0.1231 0.0534)
OKLCHoklch(38.56% 0.134 23.4)
XYZxyz(8.8742, 5.0335, 1.7323)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C181E #187C76
analogous
#7C1850 #7C181E #7C4418
triadic
#7C181E #1E7C18 #181E7C
tetradic
#7C181E #507C18 #187C76 #44187C
square
#7C181E #507C18 #187C76 #44187C
split-complementary
#7C181E #187C44 #18507C
monochromatic
#1A0506 #490E12 #7C181E #AF222A #D83640

Accessibility & contrast

On white

10.47
#7C181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C181E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C181E#FFFFFF#000000##FFFFFF
##7C181E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c181e;
/* rgb */ color: rgb(124, 24, 30);
/* oklch */ color: oklch(38.6% 0.134 23.4);
Tailwind
colors: {
  custom: {
    50: '#a95f5a',
    500: '#7c181e',
    950: '#000000',
  },
}
SCSS
$custom: #7c181e;
$custom-light: #a95f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c181e",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 356.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.13415,
    "h": 23.4
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#7C181E
secondary
#3FB1AA
accent
#EAE03D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C181E

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

Preview Lab → · Contrast checker → · Palette generator →

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