#7F121E#7F121E

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

Color values

HEX#7F121E
RGBrgb(127, 18, 30)
HSLhsl(353, 75%, 28%)
HSVhsv(353, 86%, 50%)
CMYKcmyk(0%, 85.8%, 76.4%, 50.2%)
CIE-LABlab(26.85, 44.92, 23.73)
CIE-LCHlch(26.85, 50.80, 27.85°)
OKLaboklab(38.69% 0.1312 0.0536)
OKLCHoklch(38.69% 0.142 22.2)
XYZxyz(9.2041, 5.0399, 1.7162)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F121E #127F73
analogous
#7F1254 #7F121E #7F3C12
triadic
#7F121E #1E7F12 #121E7F
tetradic
#7F121E #547F12 #127F73 #3C127F
square
#7F121E #547F12 #127F73 #3C127F
split-complementary
#7F121E #127F3C #12547F
monochromatic
#1B0406 #490A11 #7F121E #B51A2B #E12B3F

Accessibility & contrast

On white

10.46
#7F121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F121E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F121E#FFFFFF#000000##FFFFFF
##7F121E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f121e;
/* rgb */ color: rgb(127, 18, 30);
/* oklch */ color: oklch(38.7% 0.142 22.2);
Tailwind
colors: {
  custom: {
    50: '#ac5e59',
    500: '#7f121e',
    950: '#000000',
  },
}
SCSS
$custom: #7f121e;
$custom-light: #ac5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f121e",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 353.394,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38687,
    "c": 0.14176,
    "h": 22.2
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#7F121E
secondary
#38B5A7
accent
#F2DD36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F121E

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

Preview Lab → · Contrast checker → · Palette generator →

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