#7F1428#7F1428

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

Color values

HEX#7F1428
RGBrgb(127, 20, 40)
HSLhsl(349, 73%, 29%)
HSVhsv(349, 84%, 50%)
CMYKcmyk(0%, 84.3%, 68.5%, 50.2%)
CIE-LABlab(27.21, 44.88, 17.57)
CIE-LCHlch(27.21, 48.20, 21.38°)
OKLaboklab(39% 0.1335 0.0417)
OKLCHoklch(39% 0.14 17.3)
XYZxyz(9.3866, 5.1670, 2.5102)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1428 #147F6B
analogous
#7F145E #7F1428 #7F3614
triadic
#7F1428 #287F14 #14287F
tetradic
#7F1428 #5E7F14 #147F6B #36147F
square
#7F1428 #5E7F14 #147F6B #36147F
split-complementary
#7F1428 #147F36 #145E7F
monochromatic
#1A0408 #4A0C17 #7F1428 #B41C39 #DE2F50

Accessibility & contrast

On white

10.33
#7F1428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1428
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1428#FFFFFF#000000##FFFFFF
##7F14281.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1428;
/* rgb */ color: rgb(127, 20, 40);
/* oklch */ color: oklch(39.0% 0.140 17.3);
Tailwind
colors: {
  custom: {
    50: '#ab5e61',
    500: '#7f1428',
    950: '#000000',
  },
}
SCSS
$custom: #7f1428;
$custom-light: #ab5e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1428",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 348.785,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39004,
    "c": 0.13991,
    "h": 17.3
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#7F1428
secondary
#3BB49D
accent
#EFCD38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7F1428

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

Preview Lab → · Contrast checker → · Palette generator →

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