#7A2117#7A2117

#7A2117 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.0% C 0.125 H 30.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7A2117
RGBrgb(122, 33, 23)
HSLhsl(6, 68%, 28%)
HSVhsv(6, 81%, 48%)
CMYKcmyk(0%, 73%, 81.1%, 52.2%)
CIE-LABlab(27.54, 37.88, 28.53)
CIE-LCHlch(27.54, 47.42, 36.99°)
OKLaboklab(38.99% 0.1081 0.0625)
OKLCHoklch(38.99% 0.125 30)
XYZxyz(8.7256, 5.2885, 1.3718)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2117 #17707A
analogous
#7A173E #7A2117 #7A5217
triadic
#7A2117 #177A21 #21177A
tetradic
#7A2117 #3E7A17 #17707A #52177A
square
#7A2117 #3E7A17 #17707A #52177A
split-complementary
#7A2117 #177A52 #173E7A
monochromatic
#1A0705 #47130D #7A2117 #AD2F21 #D94433

Accessibility & contrast

On white

10.21
#7A2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7A2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2117
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2117#FFFFFF#000000##FFFFFF
##7A21171.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3515
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#87011F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a2117;
/* rgb */ color: rgb(122, 33, 23);
/* oklch */ color: oklch(39.0% 0.125 30.0);
Tailwind
colors: {
  custom: {
    50: '#a86355',
    500: '#7a2117',
    950: '#000000',
  },
}
SCSS
$custom: #7a2117;
$custom-light: #a86355;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2117",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 6.061,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.12481,
    "h": 30
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#7A2117
secondary
#3EA4AF
accent
#DAEB3D
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7A2117

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

Preview Lab → · Contrast checker → · Palette generator →

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