#7A1C12#7A1C12

#7A1C12 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.130 H 30.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#7A1C12
RGBrgb(122, 28, 18)
HSLhsl(6, 74%, 27%)
HSVhsv(6, 85%, 48%)
CMYKcmyk(0%, 77%, 85.2%, 52.2%)
CIE-LABlab(26.77, 39.68, 30.65)
CIE-LCHlch(26.77, 50.14, 37.68°)
OKLaboklab(38.4% 0.1127 0.0653)
OKLCHoklch(38.4% 0.13 30.1)
XYZxyz(8.5515, 5.0131, 1.0895)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C12 #12707A
analogous
#7A123C #7A1C12 #7A5012
triadic
#7A1C12 #127A1C #1C127A
tetradic
#7A1C12 #3C7A12 #12707A #50127A
square
#7A1C12 #3C7A12 #12707A #50127A
split-complementary
#7A1C12 #127A50 #123C7A
monochromatic
#1B0604 #45100A #7A1C12 #AF281A #DF3927

Accessibility & contrast

On white

10.49
#7A1C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7A1C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C12
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C12#FFFFFF#000000##FFFFFF
##7A1C121.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393210
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#87001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1c12;
/* rgb */ color: rgb(122, 28, 18);
/* oklch */ color: oklch(38.4% 0.130 30.1);
Tailwind
colors: {
  custom: {
    50: '#a96051',
    500: '#7a1c12',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c12;
$custom-light: #a96051;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c12",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 18
  },
  "hsl": {
    "h": 5.769,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.13022,
    "h": 30.1
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#7A1C12
secondary
#38A5B0
accent
#DFF137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110502
muted
#807978

Preview Lab

Preview with #7A1C12

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

Preview Lab → · Contrast checker → · Palette generator →

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