#7A1D26#7A1D26

#7A1D26 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.127 H 20.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7A1D26
RGBrgb(122, 29, 38)
HSLhsl(354, 62%, 30%)
HSVhsv(354, 76%, 48%)
CMYKcmyk(0%, 76.2%, 68.9%, 52.2%)
CIE-LABlab(27.18, 40.22, 18.65)
CIE-LCHlch(27.18, 44.33, 24.88°)
OKLaboklab(38.79% 0.1189 0.0441)
OKLCHoklch(38.79% 0.127 20.3)
XYZxyz(8.8162, 5.1576, 2.3646)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D26 #1D7A71
analogous
#7A1D54 #7A1D26 #7A431D
triadic
#7A1D26 #267A1D #1D267A
tetradic
#7A1D26 #547A1D #1D7A71 #431D7A
square
#7A1D26 #547A1D #1D7A71 #431D7A
split-complementary
#7A1D26 #1D7A43 #1D547A
monochromatic
#190608 #491117 #7A1D26 #AB2935 #D2404E

Accessibility & contrast

On white

10.34
#7A1D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D26
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D26#FFFFFF#000000##FFFFFF
##7A1D261.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373426
Deuteranopia (green-blind)
#4F4723
Tritanopia (blue-blind)
#860021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1d26;
/* rgb */ color: rgb(122, 29, 38);
/* oklch */ color: oklch(38.8% 0.127 20.3);
Tailwind
colors: {
  custom: {
    50: '#a76160',
    500: '#7a1d26',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d26;
$custom-light: #a76160;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d26",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 38
  },
  "hsl": {
    "h": 354.194,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38786,
    "c": 0.12677,
    "h": 20.3
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#7A1D26
secondary
#45AEA4
accent
#E5D543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7A1D26

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

Preview Lab → · Contrast checker → · Palette generator →

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