#7C1A29#7C1A29

#7C1A29 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.132 H 17.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7C1A29
RGBrgb(124, 26, 41)
HSLhsl(351, 65%, 29%)
HSVhsv(351, 79%, 49%)
CMYKcmyk(0%, 79%, 66.9%, 51.4%)
CIE-LABlab(27.26, 42.14, 16.84)
CIE-LCHlch(27.26, 45.38, 21.78°)
OKLaboklab(38.94% 0.1254 0.0403)
OKLCHoklch(38.94% 0.132 17.8)
XYZxyz(9.0828, 5.1853, 2.6200)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A29 #1A7C6D
analogous
#7C1A5A #7C1A29 #7C3C1A
triadic
#7C1A29 #297C1A #1A297C
tetradic
#7C1A29 #5A7C1A #1A7C6D #3C1A7C
square
#7C1A29 #5A7C1A #1A7C6D #3C1A7C
split-complementary
#7C1A29 #1A7C3C #1A5A7C
monochromatic
#190508 #490F18 #7C1A29 #AF253A #D63B52

Accessibility & contrast

On white

10.31
#7C1A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7C1A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A29
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A29#FFFFFF#000000##FFFFFF
##7C1A291.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363329
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#890021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1a29;
/* rgb */ color: rgb(124, 26, 41);
/* oklch */ color: oklch(38.9% 0.132 17.8);
Tailwind
colors: {
  custom: {
    50: '#a86062',
    500: '#7c1a29',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a29;
$custom-light: #a86062;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a29",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 41
  },
  "hsl": {
    "h": 350.816,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38936,
    "c": 0.13171,
    "h": 17.8
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#7C1A29
secondary
#42B09F
accent
#E8CE40
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7C1A29

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

Preview Lab → · Contrast checker → · Palette generator →

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