#7F1561#7F1561

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

Color values

HEX#7F1561
RGBrgb(127, 21, 97)
HSLhsl(317, 72%, 29%)
HSVhsv(317, 83%, 50%)
CMYKcmyk(0%, 83.5%, 23.6%, 50.2%)
CIE-LABlab(29.19, 50.19, -17.60)
CIE-LCHlch(29.19, 53.18, 340.68°)
OKLaboklab(41.07% 0.1514 -0.0472)
OKLCHoklch(41.07% 0.159 342.7)
XYZxyz(11.1787, 5.9126, 11.8595)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1561 #157F33
analogous
#68157F #7F1561 #7F152C
triadic
#7F1561 #617F15 #15617F
tetradic
#7F1561 #7F6815 #157F33 #152C7F
square
#7F1561 #7F6815 #157F33 #152C7F
split-complementary
#7F1561 #2C7F15 #157F68
monochromatic
#1A0414 #4A0C39 #7F1561 #B41E89 #DD31AC

Accessibility & contrast

On white

9.62
#7F1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1561
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1561#FFFFFF#000000##FFFFFF
##7F15611.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A63
Deuteranopia (green-blind)
#444B5F
Tritanopia (blue-blind)
#88163A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1561;
/* rgb */ color: rgb(127, 21, 97);
/* oklch */ color: oklch(41.1% 0.159 342.7);
Tailwind
colors: {
  custom: {
    50: '#a8618e',
    500: '#7f1561',
    950: '#000000',
  },
}
SCSS
$custom: #7f1561;
$custom-light: #a8618e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1561",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 316.981,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.1586,
    "h": 342.7
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#7F1561
secondary
#3CB45E
accent
#EE6D39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1561

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

Preview Lab → · Contrast checker → · Palette generator →

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