#7A1F16#7A1F16

#7A1F16 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.127 H 29.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7A1F16
RGBrgb(122, 31, 22)
HSLhsl(5, 69%, 28%)
HSVhsv(5, 82%, 48%)
CMYKcmyk(0%, 74.6%, 82%, 52.2%)
CIE-LABlab(27.23, 38.66, 28.80)
CIE-LCHlch(27.23, 48.21, 36.69°)
OKLaboklab(38.75% 0.1103 0.0627)
OKLCHoklch(38.75% 0.127 29.6)
XYZxyz(8.6619, 5.1768, 1.3020)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F16 #16717A
analogous
#7A163F #7A1F16 #7A5116
triadic
#7A1F16 #167A1F #1F167A
tetradic
#7A1F16 #3F7A16 #16717A #51167A
square
#7A1F16 #3F7A16 #16717A #51167A
split-complementary
#7A1F16 #167A51 #163F7A
monochromatic
#1A0705 #46120D #7A1F16 #AE2C1F #DA4031

Accessibility & contrast

On white

10.32
#7A1F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7A1F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F16
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F16#FFFFFF#000000##FFFFFF
##7A1F161.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3414
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#87001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1f16;
/* rgb */ color: rgb(122, 31, 22);
/* oklch */ color: oklch(38.8% 0.127 29.6);
Tailwind
colors: {
  custom: {
    50: '#a86254',
    500: '#7a1f16',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f16;
$custom-light: #a86254;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f16",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 22
  },
  "hsl": {
    "h": 5.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.12688,
    "h": 29.6
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#7A1F16
secondary
#3DA5AF
accent
#DCEC3C
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78

Preview Lab

Preview with #7A1F16

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

Preview Lab → · Contrast checker → · Palette generator →

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