#7A1818#7A1818

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

Color values

HEX#7A1818
RGBrgb(122, 24, 24)
HSLhsl(0, 67%, 29%)
HSVhsv(0, 80%, 48%)
CMYKcmyk(0%, 80.3%, 80.3%, 52.2%)
CIE-LABlab(26.33, 41.32, 26.65)
CIE-LCHlch(26.33, 49.17, 32.82°)
OKLaboklab(38.09% 0.1191 0.0587)
OKLCHoklch(38.09% 0.133 26.2)
XYZxyz(8.5186, 4.8581, 1.3532)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1818 #187A7A
analogous
#7A1849 #7A1818 #7A4918
triadic
#7A1818 #187A18 #18187A
tetradic
#7A1818 #497A18 #187A7A #49187A
square
#7A1818 #497A18 #187A7A #49187A
split-complementary
#7A1818 #187A49 #18497A
monochromatic
#1A0505 #470E0E #7A1818 #AD2222 #D73535

Accessibility & contrast

On white

10.65
#7A1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1818
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1818#FFFFFF#000000##FFFFFF
##7A18181.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1818;
/* rgb */ color: rgb(122, 24, 24);
/* oklch */ color: oklch(38.1% 0.133 26.2);
Tailwind
colors: {
  custom: {
    50: '#a85f55',
    500: '#7a1818',
    950: '#000000',
  },
}
SCSS
$custom: #7a1818;
$custom-light: #a85f55;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1818",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.13275,
    "h": 26.2
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#7A1818
secondary
#3FAFAF
accent
#EAEA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #7A1818

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

Preview Lab → · Contrast checker → · Palette generator →

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