#7F1426#7F1426

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

Color values

HEX#7F1426
RGBrgb(127, 20, 38)
HSLhsl(350, 73%, 29%)
HSVhsv(350, 84%, 50%)
CMYKcmyk(0%, 84.3%, 70.1%, 50.2%)
CIE-LABlab(27.17, 44.77, 18.86)
CIE-LCHlch(27.17, 48.58, 22.84°)
OKLaboklab(38.96% 0.1327 0.0444)
OKLCHoklch(38.96% 0.14 18.5)
XYZxyz(9.3535, 5.1537, 2.3356)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1426 #147F6D
analogous
#7F145C #7F1426 #7F3814
triadic
#7F1426 #267F14 #14267F
tetradic
#7F1426 #5C7F14 #147F6D #38147F
square
#7F1426 #5C7F14 #147F6D #38147F
split-complementary
#7F1426 #147F38 #145C7F
monochromatic
#1A0408 #4A0C16 #7F1426 #B41C36 #DE2F4D

Accessibility & contrast

On white

10.34
#7F1426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1426 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1426
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1426#FFFFFF#000000##FFFFFF
##7F14261.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353226
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1426;
/* rgb */ color: rgb(127, 20, 38);
/* oklch */ color: oklch(39.0% 0.140 18.5);
Tailwind
colors: {
  custom: {
    50: '#ab5e60',
    500: '#7f1426',
    950: '#000000',
  },
}
SCSS
$custom: #7f1426;
$custom-light: #ab5e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1426",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 38
  },
  "hsl": {
    "h": 349.907,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.13992,
    "h": 18.5
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#7F1426
secondary
#3BB4A0
accent
#EFD138
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1426

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

Preview Lab → · Contrast checker → · Palette generator →

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