#7A1C28#7A1C28

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

Color values

HEX#7A1C28
RGBrgb(122, 28, 40)
HSLhsl(352, 63%, 29%)
HSVhsv(352, 77%, 48%)
CMYKcmyk(0%, 77%, 67.2%, 52.2%)
CIE-LABlab(27.08, 40.72, 17.20)
CIE-LCHlch(27.08, 44.20, 22.90°)
OKLaboklab(38.73% 0.1209 0.0411)
OKLCHoklch(38.73% 0.128 18.8)
XYZxyz(8.8252, 5.1226, 2.5311)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C28 #1C7A6E
analogous
#7A1C57 #7A1C28 #7A3F1C
triadic
#7A1C28 #287A1C #1C287A
tetradic
#7A1C28 #577A1C #1C7A6E #3F1C7A
square
#7A1C28 #577A1C #1C7A6E #3F1C7A
split-complementary
#7A1C28 #1C7A3F #1C577A
monochromatic
#190608 #481118 #7A1C28 #AC2738 #D33E51

Accessibility & contrast

On white

10.37
#7A1C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C28
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C28#FFFFFF#000000##FFFFFF
##7A1C281.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#860021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1c28;
/* rgb */ color: rgb(122, 28, 40);
/* oklch */ color: oklch(38.7% 0.128 18.8);
Tailwind
colors: {
  custom: {
    50: '#a76161',
    500: '#7a1c28',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c28;
$custom-light: #a76161;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c28",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 352.34,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38725,
    "c": 0.12768,
    "h": 18.8
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#7A1C28
secondary
#44AEA0
accent
#E6D142
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1C28

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

Preview Lab → · Contrast checker → · Palette generator →

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