#7F142D#7F142D

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

Color values

HEX#7F142D
RGBrgb(127, 20, 45)
HSLhsl(346, 73%, 29%)
HSVhsv(346, 84%, 50%)
CMYKcmyk(0%, 84.3%, 64.6%, 50.2%)
CIE-LABlab(27.31, 45.19, 14.34)
CIE-LCHlch(27.31, 47.41, 17.61°)
OKLaboklab(39.11% 0.1356 0.0349)
OKLCHoklch(39.11% 0.14 14.4)
XYZxyz(9.4772, 5.2032, 2.9874)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F142D #147F66
analogous
#7F1463 #7F142D #7F3114
triadic
#7F142D #2D7F14 #142D7F
tetradic
#7F142D #637F14 #147F66 #31147F
square
#7F142D #637F14 #147F66 #31147F
split-complementary
#7F142D #147F31 #14637F
monochromatic
#1A0409 #4A0C1A #7F142D #B41C40 #DE2F58

Accessibility & contrast

On white

10.29
#7F142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F142D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F142D#FFFFFF#000000##FFFFFF
##7F142D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f142d;
/* rgb */ color: rgb(127, 20, 45);
/* oklch */ color: oklch(39.1% 0.140 14.4);
Tailwind
colors: {
  custom: {
    50: '#ab5f65',
    500: '#7f142d',
    950: '#000000',
  },
}
SCSS
$custom: #7f142d;
$custom-light: #ab5f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7f142d",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 345.981,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.14005,
    "h": 14.4
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#7F142D
secondary
#3BB498
accent
#EFC538
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F142D

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

Preview Lab → · Contrast checker → · Palette generator →

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