#7F1622#7F1622

#7F1622 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 21.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7F1622
RGBrgb(127, 22, 34)
HSLhsl(353, 70%, 29%)
HSVhsv(353, 83%, 50%)
CMYKcmyk(0%, 82.7%, 73.2%, 50.2%)
CIE-LABlab(27.30, 43.98, 21.67)
CIE-LCHlch(27.30, 49.03, 26.22°)
OKLaboklab(39.04% 0.1292 0.0499)
OKLCHoklch(39.04% 0.139 21.1)
XYZxyz(9.3291, 5.2028, 2.0261)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1622 #167F73
analogous
#7F1657 #7F1622 #7F3F16
triadic
#7F1622 #227F16 #16227F
tetradic
#7F1622 #577F16 #167F73 #3F167F
square
#7F1622 #577F16 #167F73 #3F167F
split-complementary
#7F1622 #167F3F #16577F
monochromatic
#1A0507 #4B0D14 #7F1622 #B31F30 #DC3447

Accessibility & contrast

On white

10.29
#7F1622 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1622
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1622#FFFFFF#000000##FFFFFF
##7F16221.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363222
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1622;
/* rgb */ color: rgb(127, 22, 34);
/* oklch */ color: oklch(39.0% 0.139 21.1);
Tailwind
colors: {
  custom: {
    50: '#ac5f5d',
    500: '#7f1622',
    950: '#000000',
  },
}
SCSS
$custom: #7f1622;
$custom-light: #ac5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1622",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 34
  },
  "hsl": {
    "h": 353.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39044,
    "c": 0.13854,
    "h": 21.1
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#7F1622
secondary
#3DB4A6
accent
#EDD93B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1622

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

Preview Lab → · Contrast checker → · Palette generator →

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