#7F1460#7F1460

#7F1460 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.159 H 343.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7F1460
RGBrgb(127, 20, 96)
HSLhsl(317, 73%, 29%)
HSVhsv(317, 84%, 50%)
CMYKcmyk(0%, 84.3%, 24.4%, 50.2%)
CIE-LABlab(29.05, 50.32, -17.16)
CIE-LCHlch(29.05, 53.16, 341.17°)
OKLaboklab(40.95% 0.1521 -0.046)
OKLCHoklch(40.95% 0.159 343.2)
XYZxyz(11.1143, 5.8581, 11.6095)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1460 #147F33
analogous
#69147F #7F1460 #7F142B
triadic
#7F1460 #607F14 #14607F
tetradic
#7F1460 #7F6914 #147F33 #142B7F
square
#7F1460 #7F6914 #147F33 #142B7F
split-complementary
#7F1460 #2B7F14 #147F69
monochromatic
#1A0414 #4A0C38 #7F1460 #B41C88 #DE2FAC

Accessibility & contrast

On white

9.67
#7F1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1460
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1460#FFFFFF#000000##FFFFFF
##7F14601.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223962
Deuteranopia (green-blind)
#444B5E
Tritanopia (blue-blind)
#881439
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1460;
/* rgb */ color: rgb(127, 20, 96);
/* oklch */ color: oklch(41.0% 0.159 343.2);
Tailwind
colors: {
  custom: {
    50: '#a8608d',
    500: '#7f1460',
    950: '#000000',
  },
}
SCSS
$custom: #7f1460;
$custom-light: #a8608d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1460",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 317.383,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40953,
    "c": 0.15886,
    "h": 343.2
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#7F1460
secondary
#3BB45E
accent
#EF6D38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1460

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

Preview Lab → · Contrast checker → · Palette generator →

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