#7A1C2E#7A1C2E

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

Color values

HEX#7A1C2E
RGBrgb(122, 28, 46)
HSLhsl(349, 63%, 29%)
HSVhsv(349, 77%, 48%)
CMYKcmyk(0%, 77%, 62.3%, 52.2%)
CIE-LABlab(27.20, 41.12, 13.35)
CIE-LCHlch(27.20, 43.24, 17.98°)
OKLaboklab(38.86% 0.1235 0.0328)
OKLCHoklch(38.86% 0.128 14.9)
XYZxyz(8.9353, 5.1666, 3.1110)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C2E #1C7A68
analogous
#7A1C5D #7A1C2E #7A391C
triadic
#7A1C2E #2E7A1C #1C2E7A
tetradic
#7A1C2E #5D7A1C #1C7A68 #391C7A
square
#7A1C2E #5D7A1C #1C7A68 #391C7A
split-complementary
#7A1C2E #1C7A39 #1C5D7A
monochromatic
#190609 #48111B #7A1C2E #AC2741 #D33E5A

Accessibility & contrast

On white

10.33
#7A1C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C2E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C2E#FFFFFF#000000##FFFFFF
##7A1C2E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342E
Deuteranopia (green-blind)
#4E472B
Tritanopia (blue-blind)
#860024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1c2e;
/* rgb */ color: rgb(122, 28, 46);
/* oklch */ color: oklch(38.9% 0.128 14.9);
Tailwind
colors: {
  custom: {
    50: '#a66166',
    500: '#7a1c2e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c2e;
$custom-light: #a66166;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c2e",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 348.511,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.12772,
    "h": 14.9
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#7A1C2E
secondary
#44AE9A
accent
#E6C642
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A

Preview Lab

Preview with #7A1C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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