#7F141F#7F141F

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

Color values

HEX#7F141F
RGBrgb(127, 20, 31)
HSLhsl(354, 73%, 29%)
HSVhsv(354, 84%, 50%)
CMYKcmyk(0%, 84.3%, 75.6%, 50.2%)
CIE-LABlab(27.05, 44.42, 23.32)
CIE-LCHlch(27.05, 50.17, 27.70°)
OKLaboklab(38.84% 0.1299 0.0529)
OKLCHoklch(38.84% 0.14 22.2)
XYZxyz(9.2510, 5.1127, 1.7958)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F141F #147F74
analogous
#7F1455 #7F141F #7F3F14
triadic
#7F141F #1F7F14 #141F7F
tetradic
#7F141F #557F14 #147F74 #3F147F
square
#7F141F #557F14 #147F74 #3F147F
split-complementary
#7F141F #147F3F #14557F
monochromatic
#1A0406 #4A0C12 #7F141F #B41C2C #DE2F41

Accessibility & contrast

On white

10.38
#7F141F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F141F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F141F#FFFFFF#000000##FFFFFF
##7F141F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f141f;
/* rgb */ color: rgb(127, 20, 31);
/* oklch */ color: oklch(38.8% 0.140 22.2);
Tailwind
colors: {
  custom: {
    50: '#ac5e5a',
    500: '#7f141f',
    950: '#000000',
  },
}
SCSS
$custom: #7f141f;
$custom-light: #ac5e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f141f",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 31
  },
  "hsl": {
    "h": 353.832,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38843,
    "c": 0.14027,
    "h": 22.2
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#7F141F
secondary
#3BB4A8
accent
#EFDD38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #7F141F

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

Preview Lab → · Contrast checker → · Palette generator →

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