#7A1D1F#7A1D1F

#7A1D1F is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.127 H 24.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7A1D1F
RGBrgb(122, 29, 31)
HSLhsl(359, 62%, 30%)
HSVhsv(359, 76%, 48%)
CMYKcmyk(0%, 76.2%, 74.6%, 52.2%)
CIE-LABlab(27.06, 39.83, 23.07)
CIE-LCHlch(27.06, 46.03, 30.08°)
OKLaboklab(38.66% 0.116 0.0527)
OKLCHoklch(38.66% 0.127 24.4)
XYZxyz(8.7137, 5.1166, 1.8248)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D1F #1D7A78
analogous
#7A1D4D #7A1D1F #7A4A1D
triadic
#7A1D1F #1F7A1D #1D1F7A
tetradic
#7A1D1F #4D7A1D #1D7A78 #4A1D7A
square
#7A1D1F #4D7A1D #1D7A78 #4A1D7A
split-complementary
#7A1D1F #1D7A4A #1D4D7A
monochromatic
#190606 #491112 #7A1D1F #AB292C #D24043

Accessibility & contrast

On white

10.38
#7A1D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D1F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D1F#FFFFFF#000000##FFFFFF
##7A1D1F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1d1f;
/* rgb */ color: rgb(122, 29, 31);
/* oklch */ color: oklch(38.7% 0.127 24.4);
Tailwind
colors: {
  custom: {
    50: '#a8615a',
    500: '#7a1d1f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d1f;
$custom-light: #a8615a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d1f",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 31
  },
  "hsl": {
    "h": 358.71,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38664,
    "c": 0.12741,
    "h": 24.4
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#7A1D1F
secondary
#45AEAB
accent
#E5E143
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7A1D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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