#7A1721#7A1721

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

Color values

HEX#7A1721
RGBrgb(122, 23, 33)
HSLhsl(354, 68%, 28%)
HSVhsv(354, 81%, 48%)
CMYKcmyk(0%, 81.1%, 73%, 52.2%)
CIE-LABlab(26.34, 42.05, 20.90)
CIE-LCHlch(26.34, 46.96, 26.43°)
OKLaboklab(38.13% 0.1236 0.0483)
OKLCHoklch(38.13% 0.133 21.4)
XYZxyz(8.6079, 4.8615, 1.9237)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1721 #177A70
analogous
#7A1752 #7A1721 #7A3E17
triadic
#7A1721 #217A17 #17217A
tetradic
#7A1721 #527A17 #177A70 #3E177A
square
#7A1721 #527A17 #177A70 #3E177A
split-complementary
#7A1721 #177A3E #17527A
monochromatic
#1A0507 #470D13 #7A1721 #AD212F #D93344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1721#FFFFFF#000000##FFFFFF
##7A17211.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)
#353121
Deuteranopia (green-blind)
#4E461E
Tritanopia (blue-blind)
#87001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a1721;
/* rgb */ color: rgb(122, 23, 33);
/* oklch */ color: oklch(38.1% 0.133 21.4);
Tailwind
colors: {
  custom: {
    50: '#a85e5c',
    500: '#7a1721',
    950: '#000000',
  },
}
SCSS
$custom: #7a1721;
$custom-light: #a85e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1721",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 33
  },
  "hsl": {
    "h": 353.939,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.13266,
    "h": 21.4
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#7A1721
secondary
#3EAFA4
accent
#EBDA3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A1721

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

Preview Lab → · Contrast checker → · Palette generator →

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