#7F1564#7F1564

#7F1564 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.161 H 341.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7F1564
RGBrgb(127, 21, 100)
HSLhsl(315, 72%, 29%)
HSVhsv(315, 83%, 50%)
CMYKcmyk(0%, 83.5%, 21.3%, 50.2%)
CIE-LABlab(29.34, 50.60, -19.32)
CIE-LCHlch(29.34, 54.16, 339.10°)
OKLaboklab(41.22% 0.1518 -0.0521)
OKLCHoklch(41.22% 0.161 341.1)
XYZxyz(11.3212, 5.9696, 12.6102)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1564 #157F30
analogous
#65157F #7F1564 #7F152F
triadic
#7F1564 #647F15 #15647F
tetradic
#7F1564 #7F6515 #157F30 #152F7F
square
#7F1564 #7F6515 #157F30 #152F7F
split-complementary
#7F1564 #2F7F15 #157F65
monochromatic
#1A0415 #4A0C3B #7F1564 #B41E8D #DD31B1

Accessibility & contrast

On white

9.57
#7F1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1564
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1564#FFFFFF#000000##FFFFFF
##7F15641.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A66
Deuteranopia (green-blind)
#434B62
Tritanopia (blue-blind)
#87183C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1564;
/* rgb */ color: rgb(127, 21, 100);
/* oklch */ color: oklch(41.2% 0.161 341.1);
Tailwind
colors: {
  custom: {
    50: '#a86190',
    500: '#7f1564',
    950: '#000000',
  },
}
SCSS
$custom: #7f1564;
$custom-light: #a86190;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1564",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 315.283,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.16053,
    "h": 341.1
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#7F1564
secondary
#3CB45A
accent
#EE6839
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1564

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

Preview Lab → · Contrast checker → · Palette generator →

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