#7F121F#7F121F

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

Color values

HEX#7F121F
RGBrgb(127, 18, 31)
HSLhsl(353, 75%, 28%)
HSVhsv(353, 86%, 50%)
CMYKcmyk(0%, 85.8%, 75.6%, 50.2%)
CIE-LABlab(26.86, 44.96, 23.10)
CIE-LCHlch(26.86, 50.55, 27.19°)
OKLaboklab(38.7% 0.1316 0.0525)
OKLCHoklch(38.7% 0.142 21.7)
XYZxyz(9.2171, 5.0451, 1.7845)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F121F #127F72
analogous
#7F1255 #7F121F #7F3B12
triadic
#7F121F #1F7F12 #121F7F
tetradic
#7F121F #557F12 #127F72 #3B127F
square
#7F121F #557F12 #127F72 #3B127F
split-complementary
#7F121F #127F3B #12557F
monochromatic
#1B0407 #490A12 #7F121F #B51A2C #E12B40

Accessibility & contrast

On white

10.45
#7F121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7F121F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F121F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F121F#FFFFFF#000000##FFFFFF
##7F121F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f121f;
/* rgb */ color: rgb(127, 18, 31);
/* oklch */ color: oklch(38.7% 0.142 21.7);
Tailwind
colors: {
  custom: {
    50: '#ac5e5a',
    500: '#7f121f',
    950: '#000000',
  },
}
SCSS
$custom: #7f121f;
$custom-light: #ac5e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f121f",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 352.844,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38702,
    "c": 0.14169,
    "h": 21.7
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#7F121F
secondary
#38B5A6
accent
#F2DB36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F121F

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

Preview Lab → · Contrast checker → · Palette generator →

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