#7F1819#7F1819

#7F1819 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.138 H 26.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7F1819
RGBrgb(127, 24, 25)
HSLhsl(359, 68%, 30%)
HSVhsv(359, 81%, 50%)
CMYKcmyk(0%, 81.1%, 80.3%, 50.2%)
CIE-LABlab(27.40, 42.97, 27.50)
CIE-LCHlch(27.40, 51.01, 32.62°)
OKLaboklab(39.07% 0.1239 0.0604)
OKLCHoklch(39.07% 0.138 26)
XYZxyz(9.2556, 5.2370, 1.4430)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1819 #187F7E
analogous
#7F184D #7F1819 #7F4A18
triadic
#7F1819 #197F18 #18197F
tetradic
#7F1819 #4D7F18 #187F7E #4A187F
square
#7F1819 #4D7F18 #187F7E #4A187F
split-complementary
#7F1819 #187F4A #184D7F
monochromatic
#1A0505 #4C0E0F #7F1819 #B22223 #D9383A

Accessibility & contrast

On white

10.26
#7F1819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1819
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1819#FFFFFF#000000##FFFFFF
##7F18191.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383218
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1819;
/* rgb */ color: rgb(127, 24, 25);
/* oklch */ color: oklch(39.1% 0.138 26.0);
Tailwind
colors: {
  custom: {
    50: '#ac5f56',
    500: '#7f1819',
    950: '#000000',
  },
}
SCSS
$custom: #7f1819;
$custom-light: #ac5f56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1819",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 25
  },
  "hsl": {
    "h": 359.417,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.13782,
    "h": 26
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#7F1819
secondary
#3FB3B2
accent
#EBE93D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F1819

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

Preview Lab → · Contrast checker → · Palette generator →

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