#7F191F#7F191F

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

Color values

HEX#7F191F
RGBrgb(127, 25, 31)
HSLhsl(356, 67%, 30%)
HSVhsv(356, 80%, 50%)
CMYKcmyk(0%, 80.3%, 75.6%, 50.2%)
CIE-LABlab(27.59, 42.90, 23.95)
CIE-LCHlch(27.59, 49.13, 29.17°)
OKLaboklab(39.24% 0.125 0.0543)
OKLCHoklch(39.24% 0.136 23.5)
XYZxyz(9.3484, 5.3077, 1.8283)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F191F #197F79
analogous
#7F1952 #7F191F #7F4619
triadic
#7F191F #1F7F19 #191F7F
tetradic
#7F191F #527F19 #197F79 #46197F
square
#7F191F #527F19 #197F79 #46197F
split-complementary
#7F191F #197F46 #19527F
monochromatic
#1A0506 #4C0F13 #7F191F #B2232B #D83A43

Accessibility & contrast

On white

10.19
#7F191F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F191F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F191F#FFFFFF#000000##FFFFFF
##7F191F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f191f;
/* rgb */ color: rgb(127, 25, 31);
/* oklch */ color: oklch(39.2% 0.136 23.5);
Tailwind
colors: {
  custom: {
    50: '#ac605a',
    500: '#7f191f',
    950: '#000000',
  },
}
SCSS
$custom: #7f191f;
$custom-light: #ac605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f191f",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 31
  },
  "hsl": {
    "h": 356.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.13633,
    "h": 23.5
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#7F191F
secondary
#41B3AC
accent
#EAE03E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #7F191F

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

Preview Lab → · Contrast checker → · Palette generator →

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