#7F141E#7F141E

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

Color values

HEX#7F141E
RGBrgb(127, 20, 30)
HSLhsl(354, 73%, 29%)
HSVhsv(354, 84%, 50%)
CMYKcmyk(0%, 84.3%, 76.4%, 50.2%)
CIE-LABlab(27.04, 44.37, 23.95)
CIE-LCHlch(27.04, 50.43, 28.36°)
OKLaboklab(38.83% 0.1295 0.0541)
OKLCHoklch(38.83% 0.14 22.7)
XYZxyz(9.2380, 5.1076, 1.7275)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F141E #147F75
analogous
#7F1454 #7F141E #7F4014
triadic
#7F141E #1E7F14 #141E7F
tetradic
#7F141E #547F14 #147F75 #40147F
square
#7F141E #547F14 #147F75 #40147F
split-complementary
#7F141E #147F40 #14547F
monochromatic
#1A0406 #4A0C12 #7F141E #B41C2A #DE2F40

Accessibility & contrast

On white

10.39
#7F141E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F141E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F141E#FFFFFF#000000##FFFFFF
##7F141E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f141e;
/* rgb */ color: rgb(127, 20, 30);
/* oklch */ color: oklch(38.8% 0.140 22.7);
Tailwind
colors: {
  custom: {
    50: '#ac5e59',
    500: '#7f141e',
    950: '#000000',
  },
}
SCSS
$custom: #7f141e;
$custom-light: #ac5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f141e",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 30
  },
  "hsl": {
    "h": 354.393,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.14035,
    "h": 22.7
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#7F141E
secondary
#3BB4A9
accent
#EFDE38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F141E

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

Preview Lab → · Contrast checker → · Palette generator →

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