#7F191A#7F191A

#7F191A is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 25.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7F191A
RGBrgb(127, 25, 26)
HSLhsl(359, 67%, 30%)
HSVhsv(359, 80%, 50%)
CMYKcmyk(0%, 80.3%, 79.5%, 50.2%)
CIE-LABlab(27.53, 42.68, 27.02)
CIE-LCHlch(27.53, 50.52, 32.34°)
OKLaboklab(39.17% 0.1232 0.0597)
OKLCHoklch(39.17% 0.137 25.9)
XYZxyz(9.2876, 5.2833, 1.5078)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F191A #197F7E
analogous
#7F194D #7F191A #7F4B19
triadic
#7F191A #1A7F19 #191A7F
tetradic
#7F191A #4D7F19 #197F7E #4B197F
square
#7F191A #4D7F19 #197F7E #4B197F
split-complementary
#7F191A #197F4B #194D7F
monochromatic
#1A0505 #4C0F10 #7F191A #B22324 #D83A3C

Accessibility & contrast

On white

10.21
#7F191A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F191A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F191A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F191A#FFFFFF#000000##FFFFFF
##7F191A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393319
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f191a;
/* rgb */ color: rgb(127, 25, 26);
/* oklch */ color: oklch(39.2% 0.137 25.9);
Tailwind
colors: {
  custom: {
    50: '#ac6057',
    500: '#7f191a',
    950: '#000000',
  },
}
SCSS
$custom: #7f191a;
$custom-light: #ac6057;
$custom-dark: #000000;
JSON
{
  "hex": "#7f191a",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 26
  },
  "hsl": {
    "h": 359.412,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39173,
    "c": 0.13689,
    "h": 25.9
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#7F191A
secondary
#41B3B2
accent
#EAE83E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F191A

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

Preview Lab → · Contrast checker → · Palette generator →

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