#7A1817#7A1817

#7A1817 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.133 H 26.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#7A1817
RGBrgb(122, 24, 23)
HSLhsl(1, 68%, 28%)
HSVhsv(1, 81%, 48%)
CMYKcmyk(0%, 80.3%, 81.1%, 52.2%)
CIE-LABlab(26.32, 41.28, 27.25)
CIE-LCHlch(26.32, 49.46, 33.43°)
OKLaboklab(38.07% 0.1187 0.0597)
OKLCHoklch(38.07% 0.133 26.7)
XYZxyz(8.5084, 4.8541, 1.2994)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1817 #17797A
analogous
#7A1747 #7A1817 #7A4917
triadic
#7A1817 #177A18 #18177A
tetradic
#7A1817 #477A17 #17797A #49177A
square
#7A1817 #477A17 #17797A #49177A
split-complementary
#7A1817 #177A49 #17477A
monochromatic
#1A0505 #470E0D #7A1817 #AD2221 #D93533

Accessibility & contrast

On white

10.66
#7A1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7A1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1817
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1817#FFFFFF#000000##FFFFFF
##7A18171.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1817;
/* rgb */ color: rgb(122, 24, 23);
/* oklch */ color: oklch(38.1% 0.133 26.7);
Tailwind
colors: {
  custom: {
    50: '#a85f54',
    500: '#7a1817',
    950: '#000000',
  },
}
SCSS
$custom: #7a1817;
$custom-light: #a85f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1817",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.606,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38072,
    "c": 0.13288,
    "h": 26.7
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#7A1817
secondary
#3EAEAF
accent
#E9EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #7A1817

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

Preview Lab → · Contrast checker → · Palette generator →

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