#7F1451#7F1451

#7F1451 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.150 H 351.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7F1451
RGBrgb(127, 20, 81)
HSLhsl(326, 73%, 29%)
HSVhsv(326, 84%, 50%)
CMYKcmyk(0%, 84.3%, 36.2%, 50.2%)
CIE-LABlab(28.40, 48.44, -8.29)
CIE-LCHlch(28.40, 49.15, 350.29°)
OKLaboklab(40.27% 0.1488 -0.0214)
OKLCHoklch(40.27% 0.15 351.8)
XYZxyz(10.4884, 5.6077, 8.3131)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1451 #147F42
analogous
#78147F #7F1451 #7F141C
triadic
#7F1451 #517F14 #14517F
tetradic
#7F1451 #7F7814 #147F42 #141C7F
square
#7F1451 #7F7814 #147F42 #141C7F
split-complementary
#7F1451 #1C7F14 #147F78
monochromatic
#1A0411 #4A0C2F #7F1451 #B41C73 #DE2F93

Accessibility & contrast

On white

9.90
#7F1451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1451
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1451#FFFFFF#000000##FFFFFF
##7F14511.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#484A4F
Tritanopia (blue-blind)
#890731
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1451;
/* rgb */ color: rgb(127, 20, 81);
/* oklch */ color: oklch(40.3% 0.150 351.8);
Tailwind
colors: {
  custom: {
    50: '#a96081',
    500: '#7f1451',
    950: '#000000',
  },
}
SCSS
$custom: #7f1451;
$custom-light: #a96081;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1451",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 81
  },
  "hsl": {
    "h": 325.794,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40269,
    "c": 0.15035,
    "h": 351.8
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#7F1451
secondary
#3BB46F
accent
#EF8738
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1451

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

Preview Lab → · Contrast checker → · Palette generator →

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