#7F142C#7F142C

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

Color values

HEX#7F142C
RGBrgb(127, 20, 44)
HSLhsl(347, 73%, 29%)
HSVhsv(347, 84%, 50%)
CMYKcmyk(0%, 84.3%, 65.4%, 50.2%)
CIE-LABlab(27.28, 45.13, 14.99)
CIE-LCHlch(27.28, 47.55, 18.37°)
OKLaboklab(39.09% 0.1352 0.0363)
OKLCHoklch(39.09% 0.14 15)
XYZxyz(9.4582, 5.1956, 2.8872)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F142C #147F67
analogous
#7F1462 #7F142C #7F3214
triadic
#7F142C #2C7F14 #142C7F
tetradic
#7F142C #627F14 #147F67 #32147F
square
#7F142C #627F14 #147F67 #32147F
split-complementary
#7F142C #147F32 #14627F
monochromatic
#1A0409 #4A0C1A #7F142C #B41C3E #DE2F56

Accessibility & contrast

On white

10.30
#7F142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F142C
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F142C#FFFFFF#000000##FFFFFF
##7F142C1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322C
Deuteranopia (green-blind)
#4F4829
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f142c;
/* rgb */ color: rgb(127, 20, 44);
/* oklch */ color: oklch(39.1% 0.140 15.0);
Tailwind
colors: {
  custom: {
    50: '#ab5f64',
    500: '#7f142c',
    950: '#000000',
  },
}
SCSS
$custom: #7f142c;
$custom-light: #ab5f64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f142c",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 346.542,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39089,
    "c": 0.14,
    "h": 15
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#7F142C
secondary
#3BB499
accent
#EFC638
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F142C

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

Preview Lab → · Contrast checker → · Palette generator →

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