#7C1E12#7C1E12

#7C1E12 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.0% C 0.131 H 30.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7C1E12
RGBrgb(124, 30, 18)
HSLhsl(7, 75%, 28%)
HSVhsv(7, 85%, 49%)
CMYKcmyk(0%, 75.8%, 85.5%, 51.4%)
CIE-LABlab(27.46, 39.61, 31.44)
CIE-LCHlch(27.46, 50.57, 38.44°)
OKLaboklab(38.98% 0.1122 0.0669)
OKLCHoklch(38.98% 0.131 30.8)
XYZxyz(8.8867, 5.2587, 1.1193)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E12 #12707C
analogous
#7C123B #7C1E12 #7C5312
triadic
#7C1E12 #127C1E #1E127C
tetradic
#7C1E12 #3B7C12 #12707C #53127C
square
#7C1E12 #3B7C12 #12707C #53127C
split-complementary
#7C1E12 #127C53 #123B7C
monochromatic
#1B0604 #47110A #7C1E12 #B12B1A #E03D29

Accessibility & contrast

On white

10.24
#7C1E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7C1E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E12
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E12#FFFFFF#000000##FFFFFF
##7C1E121.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#52480D
Tritanopia (blue-blind)
#89001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1e12;
/* rgb */ color: rgb(124, 30, 18);
/* oklch */ color: oklch(39.0% 0.131 30.8);
Tailwind
colors: {
  custom: {
    50: '#aa6151',
    500: '#7c1e12',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e12;
$custom-light: #aa6151;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e12",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 18
  },
  "hsl": {
    "h": 6.792,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.13062,
    "h": 30.8
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#7C1E12
secondary
#38A4B2
accent
#DCF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78

Preview Lab

Preview with #7C1E12

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

Preview Lab → · Contrast checker → · Palette generator →

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