#7F121D#7F121D

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

Color values

HEX#7F121D
RGBrgb(127, 18, 29)
HSLhsl(354, 75%, 28%)
HSVhsv(354, 86%, 50%)
CMYKcmyk(0%, 85.8%, 77.2%, 50.2%)
CIE-LABlab(26.83, 44.87, 24.36)
CIE-LCHlch(26.83, 51.06, 28.49°)
OKLaboklab(38.67% 0.1309 0.0547)
OKLCHoklch(38.67% 0.142 22.7)
XYZxyz(9.1916, 5.0348, 1.6500)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F121D #127F74
analogous
#7F1253 #7F121D #7F3D12
triadic
#7F121D #1D7F12 #121D7F
tetradic
#7F121D #537F12 #127F74 #3D127F
square
#7F121D #537F12 #127F74 #3D127F
split-complementary
#7F121D #127F3D #12537F
monochromatic
#1B0406 #490A11 #7F121D #B51A29 #E12B3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F121D#FFFFFF#000000##FFFFFF
##7F121D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311C
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f121d;
/* rgb */ color: rgb(127, 18, 29);
/* oklch */ color: oklch(38.7% 0.142 22.7);
Tailwind
colors: {
  custom: {
    50: '#ac5d59',
    500: '#7f121d',
    950: '#000000',
  },
}
SCSS
$custom: #7f121d;
$custom-light: #ac5d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f121d",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 29
  },
  "hsl": {
    "h": 353.945,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38671,
    "c": 0.14184,
    "h": 22.7
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#7F121D
secondary
#38B5A8
accent
#F2DF36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F121D

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

Preview Lab → · Contrast checker → · Palette generator →

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