#7F143C#7F143C

#7F143C is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.142 H 5.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7F143C
RGBrgb(127, 20, 60)
HSLhsl(338, 73%, 29%)
HSVhsv(338, 84%, 50%)
CMYKcmyk(0%, 84.3%, 52.8%, 50.2%)
CIE-LABlab(27.68, 46.33, 4.72)
CIE-LCHlch(27.68, 46.57, 5.82°)
OKLaboklab(39.51% 0.1418 0.0124)
OKLCHoklch(39.51% 0.142 5)
XYZxyz(9.8191, 5.3400, 4.7878)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F143C #147F57
analogous
#7F1472 #7F143C #7F2214
triadic
#7F143C #3C7F14 #143C7F
tetradic
#7F143C #727F14 #147F57 #22147F
square
#7F143C #727F14 #147F57 #22147F
split-complementary
#7F143C #147F22 #14727F
monochromatic
#1A040C #4A0C23 #7F143C #B41C55 #DE2F71

Accessibility & contrast

On white

10.16
#7F143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F143C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F143C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F143C#FFFFFF#000000##FFFFFF
##7F143C1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343D
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f143c;
/* rgb */ color: rgb(127, 20, 60);
/* oklch */ color: oklch(39.5% 0.142 5.0);
Tailwind
colors: {
  custom: {
    50: '#aa5f71',
    500: '#7f143c',
    950: '#000000',
  },
}
SCSS
$custom: #7f143c;
$custom-light: #aa5f71;
$custom-dark: #000000;
JSON
{
  "hex": "#7f143c",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 337.57,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.14233,
    "h": 5
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#7F143C
secondary
#3BB487
accent
#EFAB38
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F143C

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

Preview Lab → · Contrast checker → · Palette generator →

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