#7F142A#7F142A

#7F142A is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.140 H 16.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7F142A
RGBrgb(127, 20, 42)
HSLhsl(348, 73%, 29%)
HSVhsv(348, 84%, 50%)
CMYKcmyk(0%, 84.3%, 66.9%, 50.2%)
CIE-LABlab(27.24, 45.00, 16.28)
CIE-LCHlch(27.24, 47.86, 19.89°)
OKLaboklab(39.05% 0.1344 0.039)
OKLCHoklch(39.05% 0.14 16.2)
XYZxyz(9.4215, 5.1810, 2.6940)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F142A #147F69
analogous
#7F1460 #7F142A #7F3414
triadic
#7F142A #2A7F14 #142A7F
tetradic
#7F142A #607F14 #147F69 #34147F
square
#7F142A #607F14 #147F69 #34147F
split-complementary
#7F142A #147F34 #14607F
monochromatic
#1A0409 #4A0C19 #7F142A #B41C3B #DE2F53

Accessibility & contrast

On white

10.31
#7F142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F142A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F142A#FFFFFF#000000##FFFFFF
##7F142A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f142a;
/* rgb */ color: rgb(127, 20, 42);
/* oklch */ color: oklch(39.0% 0.140 16.2);
Tailwind
colors: {
  custom: {
    50: '#ab5e63',
    500: '#7f142a',
    950: '#000000',
  },
}
SCSS
$custom: #7f142a;
$custom-light: #ab5e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f142a",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 347.664,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.13993,
    "h": 16.2
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#7F142A
secondary
#3BB49B
accent
#EFCA38
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F142A

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

Preview Lab → · Contrast checker → · Palette generator →

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