#7F1427#7F1427

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

Color values

HEX#7F1427
RGBrgb(127, 20, 39)
HSLhsl(349, 73%, 29%)
HSVhsv(349, 84%, 50%)
CMYKcmyk(0%, 84.3%, 69.3%, 50.2%)
CIE-LABlab(27.19, 44.83, 18.21)
CIE-LCHlch(27.19, 48.39, 22.11°)
OKLaboklab(38.98% 0.1331 0.043)
OKLCHoklch(38.98% 0.14 17.9)
XYZxyz(9.3698, 5.1603, 2.4217)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1427 #147F6C
analogous
#7F145D #7F1427 #7F3714
triadic
#7F1427 #277F14 #14277F
tetradic
#7F1427 #5D7F14 #147F6C #37147F
square
#7F1427 #5D7F14 #147F6C #37147F
split-complementary
#7F1427 #147F37 #145D7F
monochromatic
#1A0408 #4A0C17 #7F1427 #B41C37 #DE2F4E

Accessibility & contrast

On white

10.34
#7F1427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1427
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1427#FFFFFF#000000##FFFFFF
##7F14271.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1427;
/* rgb */ color: rgb(127, 20, 39);
/* oklch */ color: oklch(39.0% 0.140 17.9);
Tailwind
colors: {
  custom: {
    50: '#ab5e60',
    500: '#7f1427',
    950: '#000000',
  },
}
SCSS
$custom: #7f1427;
$custom-light: #ab5e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1427",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 349.346,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.13991,
    "h": 17.9
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#7F1427
secondary
#3BB49F
accent
#EFCF38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7F1427

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

Preview Lab → · Contrast checker → · Palette generator →

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