#7C1918#7C1918

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

Color values

HEX#7C1918
RGBrgb(124, 25, 24)
HSLhsl(1, 68%, 29%)
HSVhsv(1, 81%, 49%)
CMYKcmyk(0%, 79.8%, 80.6%, 51.4%)
CIE-LABlab(26.87, 41.63, 27.36)
CIE-LCHlch(26.87, 49.81, 33.31°)
OKLaboklab(38.56% 0.1198 0.0601)
OKLCHoklch(38.56% 0.134 26.6)
XYZxyz(8.8257, 5.0477, 1.3736)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1918 #187B7C
analogous
#7C1849 #7C1918 #7C4B18
triadic
#7C1918 #187C19 #19187C
tetradic
#7C1918 #497C18 #187B7C #4B187C
square
#7C1918 #497C18 #187B7C #4B187C
split-complementary
#7C1918 #187C4B #18497C
monochromatic
#1A0505 #490F0E #7C1918 #AF2322 #D83836

Accessibility & contrast

On white

10.45
#7C1918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1918
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1918#FFFFFF#000000##FFFFFF
##7C19181.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383217
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#89001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1918;
/* rgb */ color: rgb(124, 25, 24);
/* oklch */ color: oklch(38.6% 0.134 26.6);
Tailwind
colors: {
  custom: {
    50: '#aa5f55',
    500: '#7c1918',
    950: '#000000',
  },
}
SCSS
$custom: #7c1918;
$custom-light: #aa5f55;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1918",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 0.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38564,
    "c": 0.13402,
    "h": 26.6
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#7C1918
secondary
#3FAFB1
accent
#E9EA3D
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #7C1918

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

Preview Lab → · Contrast checker → · Palette generator →

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