#7F112A#7F112A

#7F112A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.142 H 15.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7F112A
RGBrgb(127, 17, 42)
HSLhsl(346, 76%, 28%)
HSVhsv(346, 87%, 50%)
CMYKcmyk(0%, 86.6%, 66.9%, 50.2%)
CIE-LABlab(26.97, 45.79, 15.92)
CIE-LCHlch(26.97, 48.48, 19.17°)
OKLaboklab(38.84% 0.1369 0.0382)
OKLCHoklch(38.84% 0.142 15.6)
XYZxyz(9.3718, 5.0816, 2.6774)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F112A #117F66
analogous
#7F1161 #7F112A #7F2F11
triadic
#7F112A #2A7F11 #112A7F
tetradic
#7F112A #617F11 #117F66 #2F117F
square
#7F112A #617F11 #117F66 #2F117F
split-complementary
#7F112A #117F2F #11617F
monochromatic
#1B0409 #490A18 #7F112A #B5183C #E22852

Accessibility & contrast

On white

10.42
#7F112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F112A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F112A#FFFFFF#000000##FFFFFF
##7F112A1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f112a;
/* rgb */ color: rgb(127, 17, 42);
/* oklch */ color: oklch(38.8% 0.142 15.6);
Tailwind
colors: {
  custom: {
    50: '#ab5e63',
    500: '#7f112a',
    950: '#000000',
  },
}
SCSS
$custom: #7f112a;
$custom-light: #ab5e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f112a",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 346.364,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.14216,
    "h": 15.6
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#7F112A
secondary
#37B598
accent
#F3C835
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F112A

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

Preview Lab → · Contrast checker → · Palette generator →

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