#7A1720#7A1720

#7A1720 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.133 H 21.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#7A1720
RGBrgb(122, 23, 32)
HSLhsl(355, 68%, 28%)
HSVhsv(355, 81%, 48%)
CMYKcmyk(0%, 81.1%, 73.8%, 52.2%)
CIE-LABlab(26.32, 42.00, 21.54)
CIE-LCHlch(26.32, 47.20, 27.15°)
OKLaboklab(38.12% 0.1232 0.0495)
OKLCHoklch(38.12% 0.133 21.9)
XYZxyz(8.5941, 4.8560, 1.8510)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1720 #177A71
analogous
#7A1751 #7A1720 #7A3F17
triadic
#7A1720 #207A17 #17207A
tetradic
#7A1720 #517A17 #177A71 #3F177A
square
#7A1720 #517A17 #177A71 #3F177A
split-complementary
#7A1720 #177A3F #17517A
monochromatic
#1A0507 #470D12 #7A1720 #AD212E #D93342

Accessibility & contrast

On white

10.65
#7A1720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7A1720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1720
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1720#FFFFFF#000000##FFFFFF
##7A17201.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311F
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#87001B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a1720;
/* rgb */ color: rgb(122, 23, 32);
/* oklch */ color: oklch(38.1% 0.133 21.9);
Tailwind
colors: {
  custom: {
    50: '#a85e5b',
    500: '#7a1720',
    950: '#000000',
  },
}
SCSS
$custom: #7a1720;
$custom-light: #a85e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1720",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 32
  },
  "hsl": {
    "h": 354.545,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38115,
    "c": 0.13274,
    "h": 21.9
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#7A1720
secondary
#3EAFA5
accent
#EBDB3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A1720

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

Preview Lab → · Contrast checker → · Palette generator →

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