#7F191C#7F191C

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

Color values

HEX#7F191C
RGBrgb(127, 25, 28)
HSLhsl(358, 67%, 30%)
HSVhsv(358, 80%, 50%)
CMYKcmyk(0%, 80.3%, 78%, 50.2%)
CIE-LABlab(27.55, 42.76, 25.80)
CIE-LCHlch(27.55, 49.94, 31.11°)
OKLaboklab(39.2% 0.1239 0.0576)
OKLCHoklch(39.2% 0.137 24.9)
XYZxyz(9.3107, 5.2926, 1.6297)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F191C #197F7C
analogous
#7F194F #7F191C #7F4919
triadic
#7F191C #1C7F19 #191C7F
tetradic
#7F191C #4F7F19 #197F7C #49197F
square
#7F191C #4F7F19 #197F7C #49197F
split-complementary
#7F191C #197F49 #194F7F
monochromatic
#1A0506 #4C0F11 #7F191C #B22327 #D83A3F

Accessibility & contrast

On white

10.20
#7F191C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F191C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F191C#FFFFFF#000000##FFFFFF
##7F191C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331B
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f191c;
/* rgb */ color: rgb(127, 25, 28);
/* oklch */ color: oklch(39.2% 0.137 24.9);
Tailwind
colors: {
  custom: {
    50: '#ac6058',
    500: '#7f191c',
    950: '#000000',
  },
}
SCSS
$custom: #7f191c;
$custom-light: #ac6058;
$custom-dark: #000000;
JSON
{
  "hex": "#7f191c",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 28
  },
  "hsl": {
    "h": 358.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.392,
    "c": 0.13665,
    "h": 24.9
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#7F191C
secondary
#41B3B0
accent
#EAE53E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F191C

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

Preview Lab → · Contrast checker → · Palette generator →

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