#7F1429#7F1429

#7F1429 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.140 H 16.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7F1429
RGBrgb(127, 20, 41)
HSLhsl(348, 73%, 29%)
HSVhsv(348, 84%, 50%)
CMYKcmyk(0%, 84.3%, 67.7%, 50.2%)
CIE-LABlab(27.22, 44.94, 16.93)
CIE-LCHlch(27.22, 48.02, 20.64°)
OKLaboklab(39.03% 0.134 0.0404)
OKLCHoklch(39.03% 0.14 16.8)
XYZxyz(9.4038, 5.1739, 2.6009)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1429 #147F6A
analogous
#7F145F #7F1429 #7F3514
triadic
#7F1429 #297F14 #14297F
tetradic
#7F1429 #5F7F14 #147F6A #35147F
square
#7F1429 #5F7F14 #147F6A #35147F
split-complementary
#7F1429 #147F35 #145F7F
monochromatic
#1A0409 #4A0C18 #7F1429 #B41C3A #DE2F52

Accessibility & contrast

On white

10.32
#7F1429 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1429 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1429
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1429#FFFFFF#000000##FFFFFF
##7F14291.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353229
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1429;
/* rgb */ color: rgb(127, 20, 41);
/* oklch */ color: oklch(39.0% 0.140 16.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e62',
    500: '#7f1429',
    950: '#000000',
  },
}
SCSS
$custom: #7f1429;
$custom-light: #ab5e62;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1429",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 41
  },
  "hsl": {
    "h": 348.224,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39025,
    "c": 0.13991,
    "h": 16.8
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#7F1429
secondary
#3BB49C
accent
#EFCC38
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F1429

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

Preview Lab → · Contrast checker → · Palette generator →

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