#7F151A#7F151A

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

Color values

HEX#7F151A
RGBrgb(127, 21, 26)
HSLhsl(357, 72%, 29%)
HSVhsv(357, 83%, 50%)
CMYKcmyk(0%, 83.5%, 79.5%, 50.2%)
CIE-LABlab(27.09, 43.92, 26.54)
CIE-LCHlch(27.09, 51.32, 31.14°)
OKLaboklab(38.85% 0.1271 0.0587)
OKLCHoklch(38.85% 0.14 24.8)
XYZxyz(9.2081, 5.1244, 1.4814)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F151A #157F7A
analogous
#7F154F #7F151A #7F4515
triadic
#7F151A #1A7F15 #151A7F
tetradic
#7F151A #4F7F15 #157F7A #45157F
square
#7F151A #4F7F15 #157F7A #45157F
split-complementary
#7F151A #157F45 #154F7F
monochromatic
#1A0405 #4A0C0F #7F151A #B41E25 #DD3139

Accessibility & contrast

On white

10.37
#7F151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F151A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F151A#FFFFFF#000000##FFFFFF
##7F151A1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f151a;
/* rgb */ color: rgb(127, 21, 26);
/* oklch */ color: oklch(38.8% 0.140 24.8);
Tailwind
colors: {
  custom: {
    50: '#ac5e57',
    500: '#7f151a',
    950: '#000000',
  },
}
SCSS
$custom: #7f151a;
$custom-light: #ac5e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7f151a",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 357.17,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.14,
    "h": 24.8
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#7F151A
secondary
#3CB4AE
accent
#EEE639
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F151A

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

Preview Lab → · Contrast checker → · Palette generator →

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