#7C182A#7C182A

#7C182A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.134 H 16.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7C182A
RGBrgb(124, 24, 42)
HSLhsl(349, 68%, 29%)
HSVhsv(349, 81%, 49%)
CMYKcmyk(0%, 80.6%, 66.1%, 51.4%)
CIE-LABlab(27.04, 42.88, 15.89)
CIE-LCHlch(27.04, 45.73, 20.33°)
OKLaboklab(38.78% 0.128 0.0382)
OKLCHoklch(38.78% 0.134 16.6)
XYZxyz(9.0577, 5.1069, 2.6988)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C182A #187C6A
analogous
#7C185C #7C182A #7C3818
triadic
#7C182A #2A7C18 #182A7C
tetradic
#7C182A #5C7C18 #187C6A #38187C
square
#7C182A #5C7C18 #187C6A #38187C
split-complementary
#7C182A #187C38 #185C7C
monochromatic
#1A0509 #490E19 #7C182A #AF223B #D83653

Accessibility & contrast

On white

10.39
#7C182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7C182A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C182A
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C182A#FFFFFF#000000##FFFFFF
##7C182A1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332A
Deuteranopia (green-blind)
#4E4727
Tritanopia (blue-blind)
#890020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c182a;
/* rgb */ color: rgb(124, 24, 42);
/* oklch */ color: oklch(38.8% 0.134 16.6);
Tailwind
colors: {
  custom: {
    50: '#a85f63',
    500: '#7c182a',
    950: '#000000',
  },
}
SCSS
$custom: #7c182a;
$custom-light: #a85f63;
$custom-dark: #000000;
JSON
{
  "hex": "#7c182a",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 349.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3878,
    "c": 0.13357,
    "h": 16.6
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#7C182A
secondary
#3FB19C
accent
#EACB3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7C182A

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

Preview Lab → · Contrast checker → · Palette generator →

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