#7C1A23#7C1A23

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

Color values

HEX#7C1A23
RGBrgb(124, 26, 35)
HSLhsl(354, 65%, 29%)
HSVhsv(354, 79%, 49%)
CMYKcmyk(0%, 79%, 71.8%, 51.4%)
CIE-LABlab(27.15, 41.79, 20.67)
CIE-LCHlch(27.15, 46.63, 26.32°)
OKLaboklab(38.82% 0.1229 0.0481)
OKLCHoklch(38.82% 0.132 21.4)
XYZxyz(8.9860, 5.1466, 2.1100)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A23 #1A7C73
analogous
#7C1A54 #7C1A23 #7C421A
triadic
#7C1A23 #237C1A #1A237C
tetradic
#7C1A23 #547C1A #1A7C73 #421A7C
square
#7C1A23 #547C1A #1A7C73 #421A7C
split-complementary
#7C1A23 #1A7C42 #1A547C
monochromatic
#190507 #490F15 #7C1A23 #AF2531 #D63B49

Accessibility & contrast

On white

10.35
#7C1A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7C1A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A23
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A23#FFFFFF#000000##FFFFFF
##7C1A231.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373323
Deuteranopia (green-blind)
#4F4820
Tritanopia (blue-blind)
#89001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1a23;
/* rgb */ color: rgb(124, 26, 35);
/* oklch */ color: oklch(38.8% 0.132 21.4);
Tailwind
colors: {
  custom: {
    50: '#a9605d',
    500: '#7c1a23',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a23;
$custom-light: #a9605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a23",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 354.49,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.13197,
    "h": 21.4
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#7C1A23
secondary
#42B0A6
accent
#E8D940
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7C1A23

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

Preview Lab → · Contrast checker → · Palette generator →

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