#7F1560#7F1560

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

Color values

HEX#7F1560
RGBrgb(127, 21, 96)
HSLhsl(318, 72%, 29%)
HSVhsv(318, 83%, 50%)
CMYKcmyk(0%, 83.5%, 24.4%, 50.2%)
CIE-LABlab(29.14, 50.05, -17.02)
CIE-LCHlch(29.14, 52.87, 341.22°)
OKLaboklab(41.02% 0.1512 -0.0456)
OKLCHoklch(41.02% 0.158 343.2)
XYZxyz(11.1323, 5.8941, 11.6155)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1560 #157F34
analogous
#69157F #7F1560 #7F152B
triadic
#7F1560 #607F15 #15607F
tetradic
#7F1560 #7F6915 #157F34 #152B7F
square
#7F1560 #7F6915 #157F34 #152B7F
split-complementary
#7F1560 #2B7F15 #157F69
monochromatic
#1A0414 #4A0C38 #7F1560 #B41E88 #DD31AB

Accessibility & contrast

On white

9.64
#7F1560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1560
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1560#FFFFFF#000000##FFFFFF
##7F15601.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A62
Deuteranopia (green-blind)
#444B5E
Tritanopia (blue-blind)
#88153A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1560;
/* rgb */ color: rgb(127, 21, 96);
/* oklch */ color: oklch(41.0% 0.158 343.2);
Tailwind
colors: {
  custom: {
    50: '#a8618d',
    500: '#7f1560',
    950: '#000000',
  },
}
SCSS
$custom: #7f1560;
$custom-light: #a8618d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1560",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 317.547,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4102,
    "c": 0.15796,
    "h": 343.2
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#7F1560
secondary
#3CB45F
accent
#EE6E39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1560

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

Preview Lab → · Contrast checker → · Palette generator →

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