#7A1C23#7A1C23

#7A1C23 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.128 H 21.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#7A1C23
RGBrgb(122, 28, 35)
HSLhsl(356, 63%, 29%)
HSVhsv(356, 77%, 48%)
CMYKcmyk(0%, 77%, 71.3%, 52.2%)
CIE-LABlab(26.99, 40.42, 20.39)
CIE-LCHlch(26.99, 45.27, 26.77°)
OKLaboklab(38.63% 0.1188 0.0475)
OKLCHoklch(38.63% 0.128 21.8)
XYZxyz(8.7456, 5.0908, 2.1119)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C23 #1C7A73
analogous
#7A1C52 #7A1C23 #7A441C
triadic
#7A1C23 #237A1C #1C237A
tetradic
#7A1C23 #527A1C #1C7A73 #441C7A
square
#7A1C23 #527A1C #1C7A73 #441C7A
split-complementary
#7A1C23 #1C7A44 #1C527A
monochromatic
#190607 #481115 #7A1C23 #AC2731 #D33E49

Accessibility & contrast

On white

10.41
#7A1C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7A1C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C23
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C23#FFFFFF#000000##FFFFFF
##7A1C231.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373322
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1c23;
/* rgb */ color: rgb(122, 28, 35);
/* oklch */ color: oklch(38.6% 0.128 21.8);
Tailwind
colors: {
  custom: {
    50: '#a7615d',
    500: '#7a1c23',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c23;
$custom-light: #a7615d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c23",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 35
  },
  "hsl": {
    "h": 355.532,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3863,
    "c": 0.12797,
    "h": 21.8
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#7A1C23
secondary
#44AEA6
accent
#E6DA42
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A1C23

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

Preview Lab → · Contrast checker → · Palette generator →

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