#7F121B#7F121B

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

Color values

HEX#7F121B
RGBrgb(127, 18, 27)
HSLhsl(355, 75%, 28%)
HSVhsv(355, 86%, 50%)
CMYKcmyk(0%, 85.8%, 78.7%, 50.2%)
CIE-LABlab(26.81, 44.79, 25.61)
CIE-LCHlch(26.81, 51.59, 29.76°)
OKLaboklab(38.64% 0.1301 0.0569)
OKLCHoklch(38.64% 0.142 23.6)
XYZxyz(9.1676, 5.0253, 1.5240)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F121B #127F76
analogous
#7F1251 #7F121B #7F3F12
triadic
#7F121B #1B7F12 #121B7F
tetradic
#7F121B #517F12 #127F76 #3F127F
square
#7F121B #517F12 #127F76 #3F127F
split-complementary
#7F121B #127F3F #12517F
monochromatic
#1B0406 #490A10 #7F121B #B51A26 #E12B3A

Accessibility & contrast

On white

10.47
#7F121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F121B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F121B#FFFFFF#000000##FFFFFF
##7F121B1.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#504817
Tritanopia (blue-blind)
#8C0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f121b;
/* rgb */ color: rgb(127, 18, 27);
/* oklch */ color: oklch(38.6% 0.142 23.6);
Tailwind
colors: {
  custom: {
    50: '#ac5d57',
    500: '#7f121b',
    950: '#000000',
  },
}
SCSS
$custom: #7f121b;
$custom-light: #ac5d57;
$custom-dark: #000000;
JSON
{
  "hex": "#7f121b",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 355.046,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38643,
    "c": 0.14202,
    "h": 23.6
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#7F121B
secondary
#38B5AA
accent
#F2E236
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F121B

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

Preview Lab → · Contrast checker → · Palette generator →

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