#7F121A#7F121A

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

Color values

HEX#7F121A
RGBrgb(127, 18, 26)
HSLhsl(356, 75%, 28%)
HSVhsv(356, 86%, 50%)
CMYKcmyk(0%, 85.8%, 79.5%, 50.2%)
CIE-LABlab(26.79, 44.75, 26.22)
CIE-LCHlch(26.79, 51.87, 30.37°)
OKLaboklab(38.63% 0.1298 0.058)
OKLCHoklch(38.63% 0.142 24.1)
XYZxyz(9.1563, 5.0207, 1.4641)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F121A #127F77
analogous
#7F1250 #7F121A #7F4012
triadic
#7F121A #1A7F12 #121A7F
tetradic
#7F121A #507F12 #127F77 #40127F
square
#7F121A #507F12 #127F77 #40127F
split-complementary
#7F121A #127F40 #12507F
monochromatic
#1B0405 #490A0F #7F121A #B51A25 #E12B38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F121A#FFFFFF#000000##FFFFFF
##7F121A1.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)
#363019
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#8C0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f121a;
/* rgb */ color: rgb(127, 18, 26);
/* oklch */ color: oklch(38.6% 0.142 24.1);
Tailwind
colors: {
  custom: {
    50: '#ac5d56',
    500: '#7f121a',
    950: '#000000',
  },
}
SCSS
$custom: #7f121a;
$custom-light: #ac5d56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f121a",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 355.596,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38629,
    "c": 0.14211,
    "h": 24.1
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#7F121A
secondary
#38B5AC
accent
#F2E436
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F121A

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

Preview Lab → · Contrast checker → · Palette generator →

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