#7A1D17#7A1D17

#7A1D17 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.129 H 28.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7A1D17
RGBrgb(122, 29, 23)
HSLhsl(4, 68%, 28%)
HSVhsv(4, 81%, 48%)
CMYKcmyk(0%, 76.2%, 81.1%, 52.2%)
CIE-LABlab(26.96, 39.48, 27.93)
CIE-LCHlch(26.96, 48.36, 35.28°)
OKLaboklab(38.55% 0.1131 0.0612)
OKLCHoklch(38.55% 0.129 28.4)
XYZxyz(8.6211, 5.0795, 1.3369)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D17 #17747A
analogous
#7A1742 #7A1D17 #7A4E17
triadic
#7A1D17 #177A1D #1D177A
tetradic
#7A1D17 #427A17 #17747A #4E177A
square
#7A1D17 #427A17 #17747A #4E177A
split-complementary
#7A1D17 #177A4E #17427A
monochromatic
#1A0605 #47110D #7A1D17 #AD2921 #D93D33

Accessibility & contrast

On white

10.42
#7A1D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7A1D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D17
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D17#FFFFFF#000000##FFFFFF
##7A1D171.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#87001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1d17;
/* rgb */ color: rgb(122, 29, 23);
/* oklch */ color: oklch(38.6% 0.129 28.4);
Tailwind
colors: {
  custom: {
    50: '#a86154',
    500: '#7a1d17',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d17;
$custom-light: #a86154;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d17",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 23
  },
  "hsl": {
    "h": 3.636,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38553,
    "c": 0.12855,
    "h": 28.4
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#7A1D17
secondary
#3EA8AF
accent
#E1EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #7A1D17

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

Preview Lab → · Contrast checker → · Palette generator →

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