#7F131B#7F131B

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

Color values

HEX#7F131B
RGBrgb(127, 19, 27)
HSLhsl(356, 74%, 29%)
HSVhsv(356, 85%, 50%)
CMYKcmyk(0%, 85%, 78.7%, 50.2%)
CIE-LABlab(26.90, 44.52, 25.71)
CIE-LCHlch(26.90, 51.41, 30.00°)
OKLaboklab(38.71% 0.1293 0.0571)
OKLCHoklch(38.71% 0.141 23.8)
XYZxyz(9.1842, 5.0584, 1.5295)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F131B #137F77
analogous
#7F1351 #7F131B #7F4113
triadic
#7F131B #1B7F13 #131B7F
tetradic
#7F131B #517F13 #137F77 #41137F
square
#7F131B #517F13 #137F77 #41137F
split-complementary
#7F131B #137F41 #13517F
monochromatic
#1B0406 #4A0B10 #7F131B #B41B26 #E02D3A

Accessibility & contrast

On white

10.44
#7F131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F131B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F131B#FFFFFF#000000##FFFFFF
##7F131B1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#504817
Tritanopia (blue-blind)
#8C0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f131b;
/* rgb */ color: rgb(127, 19, 27);
/* oklch */ color: oklch(38.7% 0.141 23.8);
Tailwind
colors: {
  custom: {
    50: '#ac5e57',
    500: '#7f131b',
    950: '#000000',
  },
}
SCSS
$custom: #7f131b;
$custom-light: #ac5e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7f131b",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 355.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38712,
    "c": 0.14133,
    "h": 23.8
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#7F131B
secondary
#39B4AB
accent
#F1E337
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F131B

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

Preview Lab → · Contrast checker → · Palette generator →

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