#7F1E26#7F1E26

#7F1E26 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.131 H 21.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7F1E26
RGBrgb(127, 30, 38)
HSLhsl(355, 62%, 31%)
HSVhsv(355, 76%, 50%)
CMYKcmyk(0%, 76.4%, 70.1%, 50.2%)
CIE-LABlab(28.33, 41.50, 20.30)
CIE-LCHlch(28.33, 46.20, 26.07°)
OKLaboklab(39.83% 0.1223 0.0476)
OKLCHoklch(39.83% 0.131 21.3)
XYZxyz(9.5676, 5.5819, 2.4070)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E26 #1E7F77
analogous
#7F1E56 #7F1E26 #7F471E
triadic
#7F1E26 #267F1E #1E267F
tetradic
#7F1E26 #567F1E #1E7F77 #471E7F
square
#7F1E26 #567F1E #1E7F77 #471E7F
split-complementary
#7F1E26 #1E7F47 #1E567F
monochromatic
#1C0708 #4D1217 #7F1E26 #B12A35 #D34450

Accessibility & contrast

On white

9.92
#7F1E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E26
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E26#FFFFFF#000000##FFFFFF
##7F1E261.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3626
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1e26;
/* rgb */ color: rgb(127, 30, 38);
/* oklch */ color: oklch(39.8% 0.131 21.3);
Tailwind
colors: {
  custom: {
    50: '#ab6260',
    500: '#7f1e26',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e26;
$custom-light: #ab6260;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e26",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 355.052,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.13119,
    "h": 21.3
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#7F1E26
secondary
#47B2A9
accent
#E5D843
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F1E26

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

Preview Lab → · Contrast checker → · Palette generator →

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