#7A181C#7A181C

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

Color values

HEX#7A181C
RGBrgb(122, 24, 28)
HSLhsl(358, 67%, 29%)
HSVhsv(358, 80%, 48%)
CMYKcmyk(0%, 80.3%, 77%, 52.2%)
CIE-LABlab(26.38, 41.48, 24.19)
CIE-LCHlch(26.38, 48.02, 30.25°)
OKLaboklab(38.14% 0.1205 0.0545)
OKLCHoklch(38.14% 0.132 24.3)
XYZxyz(8.5633, 4.8760, 1.5887)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A181C #187A76
analogous
#7A184D #7A181C #7A4518
triadic
#7A181C #1C7A18 #181C7A
tetradic
#7A181C #4D7A18 #187A76 #45187A
square
#7A181C #4D7A18 #187A76 #45187A
split-complementary
#7A181C #187A45 #184D7A
monochromatic
#1A0506 #470E10 #7A181C #AD2228 #D7353C

Accessibility & contrast

On white

10.63
#7A181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7A181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A181C
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A181C#FFFFFF#000000##FFFFFF
##7A181C1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311B
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#87001B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a181c;
/* rgb */ color: rgb(122, 24, 28);
/* oklch */ color: oklch(38.1% 0.132 24.3);
Tailwind
colors: {
  custom: {
    50: '#a85f58',
    500: '#7a181c',
    950: '#000000',
  },
}
SCSS
$custom: #7a181c;
$custom-light: #a85f58;
$custom-dark: #000000;
JSON
{
  "hex": "#7a181c",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 357.551,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.13227,
    "h": 24.3
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#7A181C
secondary
#3FAFAA
accent
#EAE33E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7A181C

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

Preview Lab → · Contrast checker → · Palette generator →

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