#7A1722#7A1722

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

Color values

HEX#7A1722
RGBrgb(122, 23, 34)
HSLhsl(353, 68%, 28%)
HSVhsv(353, 81%, 48%)
CMYKcmyk(0%, 81.1%, 72.1%, 52.2%)
CIE-LABlab(26.35, 42.11, 20.27)
CIE-LCHlch(26.35, 46.73, 25.70°)
OKLaboklab(38.15% 0.124 0.0471)
OKLCHoklch(38.15% 0.133 20.8)
XYZxyz(8.6221, 4.8672, 1.9985)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1722 #177A6F
analogous
#7A1753 #7A1722 #7A3D17
triadic
#7A1722 #227A17 #17227A
tetradic
#7A1722 #537A17 #177A6F #3D177A
square
#7A1722 #537A17 #177A6F #3D177A
split-complementary
#7A1722 #177A3D #17537A
monochromatic
#1A0507 #470D14 #7A1722 #AD2130 #D93345

Accessibility & contrast

On white

10.64
#7A1722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1722
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1722#FFFFFF#000000##FFFFFF
##7A17221.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353122
Deuteranopia (green-blind)
#4E461F
Tritanopia (blue-blind)
#87001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a1722;
/* rgb */ color: rgb(122, 23, 34);
/* oklch */ color: oklch(38.1% 0.133 20.8);
Tailwind
colors: {
  custom: {
    50: '#a85e5d',
    500: '#7a1722',
    950: '#000000',
  },
}
SCSS
$custom: #7a1722;
$custom-light: #a85e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1722",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 34
  },
  "hsl": {
    "h": 353.333,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3815,
    "c": 0.1326,
    "h": 20.8
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#7A1722
secondary
#3EAFA2
accent
#EBD83D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A1722

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

Preview Lab → · Contrast checker → · Palette generator →

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