#7A1A17#7A1A17

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

Color values

HEX#7A1A17
RGBrgb(122, 26, 23)
HSLhsl(2, 68%, 28%)
HSVhsv(2, 81%, 48%)
CMYKcmyk(0%, 78.7%, 81.1%, 52.2%)
CIE-LABlab(26.56, 40.59, 27.51)
CIE-LCHlch(26.56, 49.03, 34.13°)
OKLaboklab(38.26% 0.1166 0.0603)
OKLCHoklch(38.26% 0.131 27.3)
XYZxyz(8.5511, 4.9396, 1.3136)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A17 #17777A
analogous
#7A1745 #7A1A17 #7A4B17
triadic
#7A1A17 #177A1A #1A177A
tetradic
#7A1A17 #457A17 #17777A #4B177A
square
#7A1A17 #457A17 #17777A #4B177A
split-complementary
#7A1A17 #177A4B #17457A
monochromatic
#1A0505 #470F0D #7A1A17 #AD2521 #D93833

Accessibility & contrast

On white

10.57
#7A1A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7A1A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A17
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A17#FFFFFF#000000##FFFFFF
##7A1A171.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#87001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1a17;
/* rgb */ color: rgb(122, 26, 23);
/* oklch */ color: oklch(38.3% 0.131 27.3);
Tailwind
colors: {
  custom: {
    50: '#a85f54',
    500: '#7a1a17',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a17;
$custom-light: #a85f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a17",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 1.818,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38256,
    "c": 0.1312,
    "h": 27.3
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#7A1A17
secondary
#3EACAF
accent
#E6EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #7A1A17

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

Preview Lab → · Contrast checker → · Palette generator →

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