#7F1563#7F1563

#7F1563 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.2% C 0.160 H 341.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7F1563
RGBrgb(127, 21, 99)
HSLhsl(316, 72%, 29%)
HSVhsv(316, 83%, 50%)
CMYKcmyk(0%, 83.5%, 22%, 50.2%)
CIE-LABlab(29.29, 50.46, -18.75)
CIE-LCHlch(29.29, 53.83, 339.62°)
OKLaboklab(41.17% 0.1517 -0.0505)
OKLCHoklch(41.17% 0.16 341.6)
XYZxyz(11.2731, 5.9504, 12.3568)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1563 #157F31
analogous
#66157F #7F1563 #7F152E
triadic
#7F1563 #637F15 #15637F
tetradic
#7F1563 #7F6615 #157F31 #152E7F
square
#7F1563 #7F6615 #157F31 #152E7F
split-complementary
#7F1563 #2E7F15 #157F66
monochromatic
#1A0414 #4A0C3A #7F1563 #B41E8C #DD31B0

Accessibility & contrast

On white

9.59
#7F1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F1563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1563
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1563#FFFFFF#000000##FFFFFF
##7F15631.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A65
Deuteranopia (green-blind)
#434B61
Tritanopia (blue-blind)
#87173B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1563;
/* rgb */ color: rgb(127, 21, 99);
/* oklch */ color: oklch(41.2% 0.160 341.6);
Tailwind
colors: {
  custom: {
    50: '#a8618f',
    500: '#7f1563',
    950: '#000000',
  },
}
SCSS
$custom: #7f1563;
$custom-light: #a8618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1563",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 315.849,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4117,
    "c": 0.15988,
    "h": 341.6
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#7F1563
secondary
#3CB45C
accent
#EE6939
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1563

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

Preview Lab → · Contrast checker → · Palette generator →

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