#7F141C#7F141C

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

Color values

HEX#7F141C
RGBrgb(127, 20, 28)
HSLhsl(356, 73%, 29%)
HSVhsv(356, 84%, 50%)
CMYKcmyk(0%, 84.3%, 78%, 50.2%)
CIE-LABlab(27.01, 44.29, 25.20)
CIE-LCHlch(27.01, 50.96, 29.64°)
OKLaboklab(38.8% 0.1288 0.0563)
OKLCHoklch(38.8% 0.141 23.6)
XYZxyz(9.2133, 5.0977, 1.5972)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F141C #147F77
analogous
#7F1452 #7F141C #7F4214
triadic
#7F141C #1C7F14 #141C7F
tetradic
#7F141C #527F14 #147F77 #42147F
square
#7F141C #527F14 #147F77 #42147F
split-complementary
#7F141C #147F42 #14527F
monochromatic
#1A0406 #4A0C10 #7F141C #B41C28 #DE2F3C

Accessibility & contrast

On white

10.40
#7F141C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F141C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F141C#FFFFFF#000000##FFFFFF
##7F141C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f141c;
/* rgb */ color: rgb(127, 20, 28);
/* oklch */ color: oklch(38.8% 0.141 23.6);
Tailwind
colors: {
  custom: {
    50: '#ac5e58',
    500: '#7f141c',
    950: '#000000',
  },
}
SCSS
$custom: #7f141c;
$custom-light: #ac5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f141c",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 28
  },
  "hsl": {
    "h": 355.514,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38798,
    "c": 0.14053,
    "h": 23.6
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#7F141C
secondary
#3BB4AB
accent
#EFE238
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F141C

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

Preview Lab → · Contrast checker → · Palette generator →

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