#7A1F2F#7A1F2F

#7A1F2F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.125 H 15.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7A1F2F
RGBrgb(122, 31, 47)
HSLhsl(349, 59%, 30%)
HSVhsv(349, 75%, 48%)
CMYKcmyk(0%, 74.6%, 61.5%, 52.2%)
CIE-LABlab(27.64, 40.05, 13.26)
CIE-LCHlch(27.64, 42.19, 18.32°)
OKLaboklab(39.19% 0.1202 0.0326)
OKLCHoklch(39.19% 0.125 15.2)
XYZxyz(9.0300, 5.3241, 3.2409)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F2F #1F7A6A
analogous
#7A1F5C #7A1F2F #7A3D1F
triadic
#7A1F2F #2F7A1F #1F2F7A
tetradic
#7A1F2F #5C7A1F #1F7A6A #3D1F7A
square
#7A1F2F #5C7A1F #1F7A6A #3D1F7A
split-complementary
#7A1F2F #1F7A3D #1F5C7A
monochromatic
#180609 #49131C #7A1F2F #AB2B42 #CF445C

Accessibility & contrast

On white

10.17
#7A1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7A1F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F2F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F2F#FFFFFF#000000##FFFFFF
##7A1F2F1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#860626
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1f2f;
/* rgb */ color: rgb(122, 31, 47);
/* oklch */ color: oklch(39.2% 0.125 15.2);
Tailwind
colors: {
  custom: {
    50: '#a66267',
    500: '#7a1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f2f;
$custom-light: #a66267;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f2f",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 349.451,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.12454,
    "h": 15.2
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#7A1F2F
secondary
#47AD9B
accent
#E3C745
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #7A1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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