#7A1F2A#7A1F2A

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

Color values

HEX#7A1F2A
RGBrgb(122, 31, 42)
HSLhsl(353, 59%, 30%)
HSVhsv(353, 75%, 48%)
CMYKcmyk(0%, 74.6%, 65.6%, 52.2%)
CIE-LABlab(27.53, 39.70, 16.45)
CIE-LCHlch(27.53, 42.97, 22.51°)
OKLaboklab(39.07% 0.1181 0.0396)
OKLCHoklch(39.07% 0.125 18.5)
XYZxyz(8.9349, 5.2860, 2.7399)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F2A #1F7A6F
analogous
#7A1F58 #7A1F2A #7A411F
triadic
#7A1F2A #2A7A1F #1F2A7A
tetradic
#7A1F2A #587A1F #1F7A6F #411F7A
square
#7A1F2A #587A1F #1F7A6F #411F7A
split-complementary
#7A1F2A #1F7A41 #1F587A
monochromatic
#180608 #491319 #7A1F2A #AB2B3B #CF4455

Accessibility & contrast

On white

10.21
#7A1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1F2A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F2A#FFFFFF#000000##FFFFFF
##7A1F2A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#860324
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1f2a;
/* rgb */ color: rgb(122, 31, 42);
/* oklch */ color: oklch(39.1% 0.125 18.5);
Tailwind
colors: {
  custom: {
    50: '#a76263',
    500: '#7a1f2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f2a;
$custom-light: #a76263;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f2a",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 352.747,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39075,
    "c": 0.12453,
    "h": 18.5
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#7A1F2A
secondary
#47ADA1
accent
#E3D045
background
#FAF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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