#7F141B#7F141B

#7F141B is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.141 H 24.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#7F141B
RGBrgb(127, 20, 27)
HSLhsl(356, 73%, 29%)
HSVhsv(356, 84%, 50%)
CMYKcmyk(0%, 84.3%, 78.7%, 50.2%)
CIE-LABlab(27.00, 44.25, 25.82)
CIE-LCHlch(27.00, 51.23, 30.26°)
OKLaboklab(38.78% 0.1284 0.0574)
OKLCHoklch(38.78% 0.141 24.1)
XYZxyz(9.2015, 5.0930, 1.5352)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F141B #147F78
analogous
#7F1451 #7F141B #7F4314
triadic
#7F141B #1B7F14 #141B7F
tetradic
#7F141B #517F14 #147F78 #43147F
square
#7F141B #517F14 #147F78 #43147F
split-complementary
#7F141B #147F43 #14517F
monochromatic
#1A0406 #4A0C10 #7F141B #B41C26 #DE2F3B

Accessibility & contrast

On white

10.41
#7F141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F141B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F141B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F141B#FFFFFF#000000##FFFFFF
##7F141B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f141b;
/* rgb */ color: rgb(127, 20, 27);
/* oklch */ color: oklch(38.8% 0.141 24.1);
Tailwind
colors: {
  custom: {
    50: '#ac5e57',
    500: '#7f141b',
    950: '#000000',
  },
}
SCSS
$custom: #7f141b;
$custom-light: #ac5e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7f141b",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 356.075,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38784,
    "c": 0.14062,
    "h": 24.1
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#7F141B
secondary
#3BB4AC
accent
#EFE338
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F141B

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

Preview Lab → · Contrast checker → · Palette generator →

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