#7A1E18#7A1E18

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

Color values

HEX#7A1E18
RGBrgb(122, 30, 24)
HSLhsl(4, 67%, 29%)
HSVhsv(4, 80%, 48%)
CMYKcmyk(0%, 75.4%, 80.3%, 52.2%)
CIE-LABlab(27.11, 39.13, 27.49)
CIE-LCHlch(27.11, 47.82, 35.08°)
OKLaboklab(38.67% 0.1122 0.0605)
OKLCHoklch(38.67% 0.127 28.3)
XYZxyz(8.6562, 5.1334, 1.3990)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E18 #18747A
analogous
#7A1843 #7A1E18 #7A4F18
triadic
#7A1E18 #187A1E #1E187A
tetradic
#7A1E18 #437A18 #18747A #4F187A
square
#7A1E18 #437A18 #18747A #4F187A
split-complementary
#7A1E18 #187A4F #18437A
monochromatic
#1A0605 #47110E #7A1E18 #AD2B22 #D73F35

Accessibility & contrast

On white

10.36
#7A1E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E18
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E18#FFFFFF#000000##FFFFFF
##7A1E181.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393316
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#87001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1e18;
/* rgb */ color: rgb(122, 30, 24);
/* oklch */ color: oklch(38.7% 0.127 28.3);
Tailwind
colors: {
  custom: {
    50: '#a86155',
    500: '#7a1e18',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e18;
$custom-light: #a86155;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e18",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 3.673,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.12748,
    "h": 28.3
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#7A1E18
secondary
#3FA8AF
accent
#DFEA3E
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7A1E18

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

Preview Lab → · Contrast checker → · Palette generator →

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