#7A1917#7A1917

#7A1917 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.132 H 27.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#7A1917
RGBrgb(122, 25, 23)
HSLhsl(1, 68%, 28%)
HSVhsv(1, 81%, 48%)
CMYKcmyk(0%, 79.5%, 81.1%, 52.2%)
CIE-LABlab(26.44, 40.94, 27.38)
CIE-LCHlch(26.44, 49.25, 33.78°)
OKLaboklab(38.16% 0.1177 0.06)
OKLCHoklch(38.16% 0.132 27)
XYZxyz(8.5293, 4.8960, 1.3064)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1917 #17787A
analogous
#7A1746 #7A1917 #7A4A17
triadic
#7A1917 #177A19 #19177A
tetradic
#7A1917 #467A17 #17787A #4A177A
square
#7A1917 #467A17 #17787A #4A177A
split-complementary
#7A1917 #177A4A #17467A
monochromatic
#1A0505 #470E0D #7A1917 #AD2421 #D93633

Accessibility & contrast

On white

10.61
#7A1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1917
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1917#FFFFFF#000000##FFFFFF
##7A19171.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1917;
/* rgb */ color: rgb(122, 25, 23);
/* oklch */ color: oklch(38.2% 0.132 27.0);
Tailwind
colors: {
  custom: {
    50: '#a85f54',
    500: '#7a1917',
    950: '#000000',
  },
}
SCSS
$custom: #7a1917;
$custom-light: #a85f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1917",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.212,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38162,
    "c": 0.13205,
    "h": 27
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#7A1917
secondary
#3EADAF
accent
#E8EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #7A1917

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

Preview Lab → · Contrast checker → · Palette generator →

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