#7F131E#7F131E

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

Color values

HEX#7F131E
RGBrgb(127, 19, 30)
HSLhsl(354, 74%, 29%)
HSVhsv(354, 85%, 50%)
CMYKcmyk(0%, 85%, 76.4%, 50.2%)
CIE-LABlab(26.94, 44.65, 23.84)
CIE-LCHlch(26.94, 50.62, 28.10°)
OKLaboklab(38.76% 0.1304 0.0538)
OKLCHoklch(38.76% 0.141 22.4)
XYZxyz(9.2207, 5.0730, 1.7217)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F131E #137F74
analogous
#7F1354 #7F131E #7F3E13
triadic
#7F131E #1E7F13 #131E7F
tetradic
#7F131E #547F13 #137F74 #3E137F
square
#7F131E #547F13 #137F74 #3E137F
split-complementary
#7F131E #137F3E #13547F
monochromatic
#1B0406 #4A0B11 #7F131E #B41B2B #E02D3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F131E#FFFFFF#000000##FFFFFF
##7F131E1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f131e;
/* rgb */ color: rgb(127, 19, 30);
/* oklch */ color: oklch(38.8% 0.141 22.4);
Tailwind
colors: {
  custom: {
    50: '#ac5e59',
    500: '#7f131e',
    950: '#000000',
  },
}
SCSS
$custom: #7f131e;
$custom-light: #ac5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f131e",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 353.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38756,
    "c": 0.14107,
    "h": 22.4
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#7F131E
secondary
#39B4A8
accent
#F1DE37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F131E

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

Preview Lab → · Contrast checker → · Palette generator →

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