#7F191B#7F191B

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

Color values

HEX#7F191B
RGBrgb(127, 25, 27)
HSLhsl(359, 67%, 30%)
HSVhsv(359, 80%, 50%)
CMYKcmyk(0%, 80.3%, 78.7%, 50.2%)
CIE-LABlab(27.54, 42.72, 26.41)
CIE-LCHlch(27.54, 50.23, 31.73°)
OKLaboklab(39.19% 0.1236 0.0587)
OKLCHoklch(39.19% 0.137 25.4)
XYZxyz(9.2990, 5.2879, 1.5677)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F191B #197F7D
analogous
#7F194E #7F191B #7F4A19
triadic
#7F191B #1B7F19 #191B7F
tetradic
#7F191B #4E7F19 #197F7D #4A197F
square
#7F191B #4E7F19 #197F7D #4A197F
split-complementary
#7F191B #197F4A #194E7F
monochromatic
#1A0505 #4C0F10 #7F191B #B22326 #D83A3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F191B#FFFFFF#000000##FFFFFF
##7F191B1.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)
#39331A
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f191b;
/* rgb */ color: rgb(127, 25, 27);
/* oklch */ color: oklch(39.2% 0.137 25.4);
Tailwind
colors: {
  custom: {
    50: '#ac6057',
    500: '#7f191b',
    950: '#000000',
  },
}
SCSS
$custom: #7f191b;
$custom-light: #ac6057;
$custom-dark: #000000;
JSON
{
  "hex": "#7f191b",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 27
  },
  "hsl": {
    "h": 358.824,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39187,
    "c": 0.13677,
    "h": 25.4
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#7F191B
secondary
#41B3B1
accent
#EAE73E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F191B

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

Preview Lab → · Contrast checker → · Palette generator →

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