#7A1F2B#7A1F2B

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

Color values

HEX#7A1F2B
RGBrgb(122, 31, 43)
HSLhsl(352, 59%, 30%)
HSVhsv(352, 75%, 48%)
CMYKcmyk(0%, 74.6%, 64.8%, 52.2%)
CIE-LABlab(27.55, 39.76, 15.81)
CIE-LCHlch(27.55, 42.79, 21.69°)
OKLaboklab(39.1% 0.1185 0.0382)
OKLCHoklch(39.1% 0.125 17.9)
XYZxyz(8.9530, 5.2933, 2.8353)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F2B #1F7A6E
analogous
#7A1F58 #7A1F2B #7A411F
triadic
#7A1F2B #2B7A1F #1F2B7A
tetradic
#7A1F2B #587A1F #1F7A6E #411F7A
square
#7A1F2B #587A1F #1F7A6E #411F7A
split-complementary
#7A1F2B #1F7A41 #1F587A
monochromatic
#180609 #49131A #7A1F2B #AB2B3C #CF4456

Accessibility & contrast

On white

10.20
#7A1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1F2B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F2B#FFFFFF#000000##FFFFFF
##7A1F2B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1f2b;
/* rgb */ color: rgb(122, 31, 43);
/* oklch */ color: oklch(39.1% 0.124 17.9);
Tailwind
colors: {
  custom: {
    50: '#a66264',
    500: '#7a1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f2b;
$custom-light: #a66264;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f2b",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 352.088,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.1245,
    "h": 17.9
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#7A1F2B
secondary
#47ADA0
accent
#E3CE45
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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