#7A162F#7A162F

#7A162F is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.134 H 12.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#7A162F
RGBrgb(122, 22, 47)
HSLhsl(345, 69%, 28%)
HSVhsv(345, 82%, 48%)
CMYKcmyk(0%, 82%, 61.5%, 52.2%)
CIE-LABlab(26.50, 43.24, 11.73)
CIE-LCHlch(26.50, 44.80, 15.18°)
OKLaboklab(38.34% 0.1305 0.029)
OKLCHoklch(38.34% 0.134 12.5)
XYZxyz(8.8269, 4.9179, 3.1732)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A162F #167A61
analogous
#7A1661 #7A162F #7A2F16
triadic
#7A162F #2F7A16 #162F7A
tetradic
#7A162F #617A16 #167A61 #2F167A
square
#7A162F #617A16 #167A61 #2F167A
split-complementary
#7A162F #167A2F #16617A
monochromatic
#1A050A #460D1B #7A162F #AE1F43 #DA315B

Accessibility & contrast

On white

10.59
#7A162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7A162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A162F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A162F#FFFFFF#000000##FFFFFF
##7A162F1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32322F
Deuteranopia (green-blind)
#4C462C
Tritanopia (blue-blind)
#860021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a162f;
/* rgb */ color: rgb(122, 22, 47);
/* oklch */ color: oklch(38.3% 0.134 12.5);
Tailwind
colors: {
  custom: {
    50: '#a75e67',
    500: '#7a162f',
    950: '#000000',
  },
}
SCSS
$custom: #7a162f;
$custom-light: #a75e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7a162f",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 345,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38342,
    "c": 0.13364,
    "h": 12.5
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#7A162F
secondary
#3DAF93
accent
#ECC03C
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7A162F

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

Preview Lab → · Contrast checker → · Palette generator →

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