#7A1F20#7A1F20

#7A1F20 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.125 H 24.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7A1F20
RGBrgb(122, 31, 32)
HSLhsl(359, 59%, 30%)
HSVhsv(359, 75%, 48%)
CMYKcmyk(0%, 74.6%, 73.8%, 52.2%)
CIE-LABlab(27.36, 39.10, 22.77)
CIE-LCHlch(27.36, 45.25, 30.22°)
OKLaboklab(38.89% 0.1139 0.0523)
OKLCHoklch(38.89% 0.125 24.6)
XYZxyz(8.7777, 5.2231, 1.9122)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F20 #1F7A79
analogous
#7A1F4D #7A1F20 #7A4C1F
triadic
#7A1F20 #207A1F #1F207A
tetradic
#7A1F20 #4D7A1F #1F7A79 #4C1F7A
square
#7A1F20 #4D7A1F #1F7A79 #4C1F7A
split-complementary
#7A1F20 #1F7A4C #1F4D7A
monochromatic
#180606 #491313 #7A1F20 #AB2B2D #CF4445

Accessibility & contrast

On white

10.27
#7A1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1F20
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F20#FFFFFF#000000##FFFFFF
##7A1F201.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341F
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1f20;
/* rgb */ color: rgb(122, 31, 32);
/* oklch */ color: oklch(38.9% 0.125 24.6);
Tailwind
colors: {
  custom: {
    50: '#a7625b',
    500: '#7a1f20',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f20;
$custom-light: #a7625b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f20",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.341,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.3889,
    "c": 0.12535,
    "h": 24.6
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#7A1F20
secondary
#47ADAC
accent
#E3E145
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7A1F20

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

Preview Lab → · Contrast checker → · Palette generator →

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