#7F142E#7F142E

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

Color values

HEX#7F142E
RGBrgb(127, 20, 46)
HSLhsl(345, 73%, 29%)
HSVhsv(345, 84%, 50%)
CMYKcmyk(0%, 84.3%, 63.8%, 50.2%)
CIE-LABlab(27.33, 45.26, 13.70)
CIE-LCHlch(27.33, 47.28, 16.84°)
OKLaboklab(39.13% 0.1361 0.0335)
OKLCHoklch(39.13% 0.14 13.8)
XYZxyz(9.4967, 5.2110, 3.0900)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F142E #147F65
analogous
#7F1464 #7F142E #7F3014
triadic
#7F142E #2E7F14 #142E7F
tetradic
#7F142E #647F14 #147F65 #30147F
square
#7F142E #647F14 #147F65 #30147F
split-complementary
#7F142E #147F30 #14647F
monochromatic
#1A040A #4A0C1B #7F142E #B41C41 #DE2F5A

Accessibility & contrast

On white

10.28
#7F142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F142E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F142E#FFFFFF#000000##FFFFFF
##7F142E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332E
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f142e;
/* rgb */ color: rgb(127, 20, 46);
/* oklch */ color: oklch(39.1% 0.140 13.8);
Tailwind
colors: {
  custom: {
    50: '#ab5f66',
    500: '#7f142e',
    950: '#000000',
  },
}
SCSS
$custom: #7f142e;
$custom-light: #ab5f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f142e",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 345.421,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39134,
    "c": 0.14011,
    "h": 13.8
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#7F142E
secondary
#3BB497
accent
#EFC338
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F142E

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

Preview Lab → · Contrast checker → · Palette generator →

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