#7C1427#7C1427

#7C1427 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.137 H 17.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#7C1427
RGBrgb(124, 20, 39)
HSLhsl(349, 72%, 28%)
HSVhsv(349, 84%, 49%)
CMYKcmyk(0%, 83.9%, 68.5%, 51.4%)
CIE-LABlab(26.54, 43.92, 17.27)
CIE-LCHlch(26.54, 47.19, 21.46°)
OKLaboklab(38.4% 0.1307 0.041)
OKLCHoklch(38.4% 0.137 17.4)
XYZxyz(8.9295, 4.9333, 2.4011)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1427 #147C69
analogous
#7C145B #7C1427 #7C3514
triadic
#7C1427 #277C14 #14277C
tetradic
#7C1427 #5B7C14 #147C69 #35147C
square
#7C1427 #5B7C14 #147C69 #35147C
split-complementary
#7C1427 #147C35 #145B7C
monochromatic
#1A0408 #470B16 #7C1427 #B11D38 #DD2D4D

Accessibility & contrast

On white

10.57
#7C1427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7C1427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1427
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1427#FFFFFF#000000##FFFFFF
##7C14271.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#4E4624
Tritanopia (blue-blind)
#89001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1427;
/* rgb */ color: rgb(124, 20, 39);
/* oklch */ color: oklch(38.4% 0.137 17.4);
Tailwind
colors: {
  custom: {
    50: '#a95e60',
    500: '#7c1427',
    950: '#000000',
  },
}
SCSS
$custom: #7c1427;
$custom-light: #a95e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1427",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 349.038,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.13695,
    "h": 17.4
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#7C1427
secondary
#3AB29C
accent
#EFCE39
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7C1427

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

Preview Lab → · Contrast checker → · Palette generator →

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