#7A1E17#7A1E17

#7A1E17 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.128 H 28.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7A1E17
RGBrgb(122, 30, 23)
HSLhsl(4, 68%, 28%)
HSVhsv(4, 81%, 48%)
CMYKcmyk(0%, 75.4%, 81.1%, 52.2%)
CIE-LABlab(27.10, 39.09, 28.07)
CIE-LCHlch(27.10, 48.13, 35.68°)
OKLaboklab(38.66% 0.1119 0.0615)
OKLCHoklch(38.66% 0.128 28.8)
XYZxyz(8.6460, 5.1293, 1.3453)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E17 #17737A
analogous
#7A1741 #7A1E17 #7A4F17
triadic
#7A1E17 #177A1E #1E177A
tetradic
#7A1E17 #417A17 #17737A #4F177A
square
#7A1E17 #417A17 #17737A #4F177A
split-complementary
#7A1E17 #177A4F #17417A
monochromatic
#1A0605 #47110D #7A1E17 #AD2B21 #D93F33

Accessibility & contrast

On white

10.37
#7A1E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7A1E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E17
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E17#FFFFFF#000000##FFFFFF
##7A1E171.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#87001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1e17;
/* rgb */ color: rgb(122, 30, 23);
/* oklch */ color: oklch(38.7% 0.128 28.8);
Tailwind
colors: {
  custom: {
    50: '#a86155',
    500: '#7a1e17',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e17;
$custom-light: #a86155;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e17",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 4.242,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38657,
    "c": 0.12763,
    "h": 28.8
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#7A1E17
secondary
#3EA7AF
accent
#DFEB3D
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110503
muted
#807A78

Preview Lab

Preview with #7A1E17

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

Preview Lab → · Contrast checker → · Palette generator →

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