#7C1F12#7C1F12

#7C1F12 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.130 H 31.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7C1F12
RGBrgb(124, 31, 18)
HSLhsl(7, 75%, 28%)
HSVhsv(7, 85%, 49%)
CMYKcmyk(0%, 75%, 85.5%, 51.4%)
CIE-LABlab(27.60, 39.22, 31.58)
CIE-LCHlch(27.60, 50.35, 38.84°)
OKLaboklab(39.09% 0.111 0.0672)
OKLCHoklch(39.09% 0.13 31.2)
XYZxyz(8.9124, 5.3101, 1.1278)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F12 #126F7C
analogous
#7C123A #7C1F12 #7C5412
triadic
#7C1F12 #127C1F #1F127C
tetradic
#7C1F12 #3A7C12 #126F7C #54127C
square
#7C1F12 #3A7C12 #126F7C #54127C
split-complementary
#7C1F12 #127C54 #123A7C
monochromatic
#1B0704 #47120A #7C1F12 #B12C1A #E03F29

Accessibility & contrast

On white

10.19
#7C1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7C1F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F12
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F12#FFFFFF#000000##FFFFFF
##7C1F121.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1f12;
/* rgb */ color: rgb(124, 31, 18);
/* oklch */ color: oklch(39.1% 0.130 31.2);
Tailwind
colors: {
  custom: {
    50: '#aa6251',
    500: '#7c1f12',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f12;
$custom-light: #aa6251;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f12",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 7.358,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39089,
    "c": 0.12973,
    "h": 31.2
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#7C1F12
secondary
#38A3B2
accent
#DAF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78

Preview Lab

Preview with #7C1F12

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

Preview Lab → · Contrast checker → · Palette generator →

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