#7F131F#7F131F

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

Color values

HEX#7F131F
RGBrgb(127, 19, 31)
HSLhsl(353, 74%, 29%)
HSVhsv(353, 85%, 50%)
CMYKcmyk(0%, 85%, 75.6%, 50.2%)
CIE-LABlab(26.96, 44.70, 23.21)
CIE-LCHlch(26.96, 50.36, 27.44°)
OKLaboklab(38.77% 0.1308 0.0527)
OKLCHoklch(38.77% 0.141 21.9)
XYZxyz(9.2337, 5.0782, 1.7901)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F131F #137F73
analogous
#7F1355 #7F131F #7F3D13
triadic
#7F131F #1F7F13 #131F7F
tetradic
#7F131F #557F13 #137F73 #3D137F
square
#7F131F #557F13 #137F73 #3D137F
split-complementary
#7F131F #137F3D #13557F
monochromatic
#1B0406 #4A0B12 #7F131F #B41B2C #E02D41

Accessibility & contrast

On white

10.42
#7F131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F131F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F131F#FFFFFF#000000##FFFFFF
##7F131F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f131f;
/* rgb */ color: rgb(127, 19, 31);
/* oklch */ color: oklch(38.8% 0.141 21.9);
Tailwind
colors: {
  custom: {
    50: '#ac5e5a',
    500: '#7f131f',
    950: '#000000',
  },
}
SCSS
$custom: #7f131f;
$custom-light: #ac5e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f131f",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 353.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.141,
    "h": 21.9
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#7F131F
secondary
#39B4A7
accent
#F1DC37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #7F131F

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

Preview Lab → · Contrast checker → · Palette generator →

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