#7F131A#7F131A

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

Color values

HEX#7F131A
RGBrgb(127, 19, 26)
HSLhsl(356, 74%, 29%)
HSVhsv(356, 85%, 50%)
CMYKcmyk(0%, 85%, 79.5%, 50.2%)
CIE-LABlab(26.89, 44.49, 26.33)
CIE-LCHlch(26.89, 51.69, 30.62°)
OKLaboklab(38.7% 0.1289 0.0582)
OKLCHoklch(38.7% 0.141 24.3)
XYZxyz(9.1728, 5.0538, 1.4696)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F131A #137F78
analogous
#7F1350 #7F131A #7F4213
triadic
#7F131A #1A7F13 #131A7F
tetradic
#7F131A #507F13 #137F78 #42137F
square
#7F131A #507F13 #137F78 #42137F
split-complementary
#7F131A #137F42 #13507F
monochromatic
#1B0405 #4A0B0F #7F131A #B41B25 #E02D38

Accessibility & contrast

On white

10.45
#7F131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7F131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F131A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F131A#FFFFFF#000000##FFFFFF
##7F131A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363119
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#8C0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f131a;
/* rgb */ color: rgb(127, 19, 26);
/* oklch */ color: oklch(38.7% 0.141 24.3);
Tailwind
colors: {
  custom: {
    50: '#ac5e56',
    500: '#7f131a',
    950: '#000000',
  },
}
SCSS
$custom: #7f131a;
$custom-light: #ac5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f131a",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 356.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38699,
    "c": 0.14143,
    "h": 24.3
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#7F131A
secondary
#39B4AC
accent
#F1E537
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F131A

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

Preview Lab → · Contrast checker → · Palette generator →

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