#7F142B#7F142B

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

Color values

HEX#7F142B
RGBrgb(127, 20, 43)
HSLhsl(347, 73%, 29%)
HSVhsv(347, 84%, 50%)
CMYKcmyk(0%, 84.3%, 66.1%, 50.2%)
CIE-LABlab(27.26, 45.06, 15.64)
CIE-LCHlch(27.26, 47.70, 19.13°)
OKLaboklab(39.07% 0.1348 0.0377)
OKLCHoklch(39.07% 0.14 15.6)
XYZxyz(9.4396, 5.1882, 2.7894)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F142B #147F68
analogous
#7F1461 #7F142B #7F3314
triadic
#7F142B #2B7F14 #142B7F
tetradic
#7F142B #617F14 #147F68 #33147F
square
#7F142B #617F14 #147F68 #33147F
split-complementary
#7F142B #147F33 #14617F
monochromatic
#1A0409 #4A0C19 #7F142B #B41C3D #DE2F55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F142B#FFFFFF#000000##FFFFFF
##7F142B1.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)
#34322B
Deuteranopia (green-blind)
#4F4828
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f142b;
/* rgb */ color: rgb(127, 20, 43);
/* oklch */ color: oklch(39.1% 0.140 15.6);
Tailwind
colors: {
  custom: {
    50: '#ab5f64',
    500: '#7f142b',
    950: '#000000',
  },
}
SCSS
$custom: #7f142b;
$custom-light: #ab5f64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f142b",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 347.103,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39067,
    "c": 0.13996,
    "h": 15.6
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#7F142B
secondary
#3BB49A
accent
#EFC838
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7F142B

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

Preview Lab → · Contrast checker → · Palette generator →

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