#7F131D#7F131D

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

Color values

HEX#7F131D
RGBrgb(127, 19, 29)
HSLhsl(354, 74%, 29%)
HSVhsv(354, 85%, 50%)
CMYKcmyk(0%, 85%, 77.2%, 50.2%)
CIE-LABlab(26.93, 44.61, 24.47)
CIE-LCHlch(26.93, 50.88, 28.74°)
OKLaboklab(38.74% 0.13 0.055)
OKLCHoklch(38.74% 0.141 22.9)
XYZxyz(9.2081, 5.0680, 1.6555)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F131D #137F75
analogous
#7F1353 #7F131D #7F3F13
triadic
#7F131D #1D7F13 #131D7F
tetradic
#7F131D #537F13 #137F75 #3F137F
square
#7F131D #537F13 #137F75 #3F137F
split-complementary
#7F131D #137F3F #13537F
monochromatic
#1B0406 #4A0B11 #7F131D #B41B29 #E02D3D

Accessibility & contrast

On white

10.43
#7F131D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F131D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F131D#FFFFFF#000000##FFFFFF
##7F131D1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f131d;
/* rgb */ color: rgb(127, 19, 29);
/* oklch */ color: oklch(38.7% 0.141 22.9);
Tailwind
colors: {
  custom: {
    50: '#ac5e59',
    500: '#7f131d',
    950: '#000000',
  },
}
SCSS
$custom: #7f131d;
$custom-light: #ac5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f131d",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 29
  },
  "hsl": {
    "h": 354.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38741,
    "c": 0.14115,
    "h": 22.9
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#7F131D
secondary
#39B4A9
accent
#F1DF37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F131D

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

Preview Lab → · Contrast checker → · Palette generator →

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