#7F1219#7F1219

#7F1219 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.142 H 24.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#7F1219
RGBrgb(127, 18, 25)
HSLhsl(356, 75%, 28%)
HSVhsv(356, 86%, 50%)
CMYKcmyk(0%, 85.8%, 80.3%, 50.2%)
CIE-LABlab(26.78, 44.72, 26.84)
CIE-LCHlch(26.78, 52.15, 30.97°)
OKLaboklab(38.62% 0.1294 0.059)
OKLCHoklch(38.62% 0.142 24.5)
XYZxyz(9.1453, 5.0163, 1.4062)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1219 #127F78
analogous
#7F124F #7F1219 #7F4112
triadic
#7F1219 #197F12 #12197F
tetradic
#7F1219 #4F7F12 #127F78 #41127F
square
#7F1219 #4F7F12 #127F78 #41127F
split-complementary
#7F1219 #127F41 #124F7F
monochromatic
#1B0405 #490A0E #7F1219 #B51A24 #E12B36

Accessibility & contrast

On white

10.48
#7F1219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7F1219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1219
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1219#FFFFFF#000000##FFFFFF
##7F12191.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363018
Deuteranopia (green-blind)
#504814
Tritanopia (blue-blind)
#8C0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1219;
/* rgb */ color: rgb(127, 18, 25);
/* oklch */ color: oklch(38.6% 0.142 24.5);
Tailwind
colors: {
  custom: {
    50: '#ac5d56',
    500: '#7f1219',
    950: '#000000',
  },
}
SCSS
$custom: #7f1219;
$custom-light: #ac5d56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1219",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 25
  },
  "hsl": {
    "h": 356.147,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38616,
    "c": 0.14221,
    "h": 24.5
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#7F1219
secondary
#38B5AD
accent
#F2E636
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F1219

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

Preview Lab → · Contrast checker → · Palette generator →

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