#7F1A22#7F1A22

#7F1A22 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.135 H 22.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7F1A22
RGBrgb(127, 26, 34)
HSLhsl(355, 66%, 30%)
HSVhsv(355, 80%, 50%)
CMYKcmyk(0%, 79.5%, 73.2%, 50.2%)
CIE-LABlab(27.76, 42.71, 22.21)
CIE-LCHlch(27.76, 48.14, 27.47°)
OKLaboklab(39.38% 0.1252 0.0511)
OKLCHoklch(39.38% 0.135 22.2)
XYZxyz(9.4116, 5.3678, 2.0536)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A22 #1A7F77
analogous
#7F1A54 #7F1A22 #7F451A
triadic
#7F1A22 #227F1A #1A227F
tetradic
#7F1A22 #547F1A #1A7F77 #451A7F
square
#7F1A22 #547F1A #1A7F77 #451A7F
split-complementary
#7F1A22 #1A7F45 #1A547F
monochromatic
#190507 #4C1014 #7F1A22 #B22430 #D73C49

Accessibility & contrast

On white

10.13
#7F1A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A22
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A22#FFFFFF#000000##FFFFFF
##7F1A221.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383421
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1a22;
/* rgb */ color: rgb(127, 26, 34);
/* oklch */ color: oklch(39.4% 0.135 22.2);
Tailwind
colors: {
  custom: {
    50: '#ab605d',
    500: '#7f1a22',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a22;
$custom-light: #ab605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a22",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 355.248,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.3938,
    "c": 0.1352,
    "h": 22.2
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#7F1A22
secondary
#42B3AA
accent
#E9DB3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7F1A22

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

Preview Lab → · Contrast checker → · Palette generator →

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