#7A1718#7A1718

#7A1718 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.134 H 25.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#7A1718
RGBrgb(122, 23, 24)
HSLhsl(359, 68%, 28%)
HSVhsv(359, 81%, 48%)
CMYKcmyk(0%, 81.1%, 80.3%, 52.2%)
CIE-LABlab(26.21, 41.65, 26.53)
CIE-LCHlch(26.21, 49.38, 32.49°)
OKLaboklab(38% 0.1201 0.0584)
OKLCHoklch(38% 0.134 25.9)
XYZxyz(8.4983, 4.8177, 1.3464)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1718 #177A79
analogous
#7A1749 #7A1718 #7A4717
triadic
#7A1718 #187A17 #17187A
tetradic
#7A1718 #497A17 #177A79 #47177A
square
#7A1718 #497A17 #177A79 #47177A
split-complementary
#7A1718 #177A47 #17497A
monochromatic
#1A0505 #470D0E #7A1718 #AD2122 #D93335

Accessibility & contrast

On white

10.70
#7A1718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#7A1718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1718
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1718#FFFFFF#000000##FFFFFF
##7A17181.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363017
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#870019
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a1718;
/* rgb */ color: rgb(122, 23, 24);
/* oklch */ color: oklch(38.0% 0.134 25.9);
Tailwind
colors: {
  custom: {
    50: '#a85e55',
    500: '#7a1718',
    950: '#000000',
  },
}
SCSS
$custom: #7a1718;
$custom-light: #a85e55;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1718",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 359.394,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.13357,
    "h": 25.9
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#7A1718
secondary
#3EAFAE
accent
#EBE93D
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #7A1718

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

Preview Lab → · Contrast checker → · Palette generator →

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