#7F1568#7F1568

#7F1568 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.4% C 0.163 H 339.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7F1568
RGBrgb(127, 21, 104)
HSLhsl(313, 72%, 29%)
HSVhsv(313, 83%, 50%)
CMYKcmyk(0%, 83.5%, 18.1%, 50.2%)
CIE-LABlab(29.54, 51.17, -21.60)
CIE-LCHlch(29.54, 55.54, 337.11°)
OKLaboklab(41.43% 0.1523 -0.0586)
OKLCHoklch(41.43% 0.163 339)
XYZxyz(11.5196, 6.0490, 13.6549)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1568 #157F2C
analogous
#61157F #7F1568 #7F1533
triadic
#7F1568 #687F15 #15687F
tetradic
#7F1568 #7F6115 #157F2C #15337F
square
#7F1568 #7F6115 #157F2C #15337F
split-complementary
#7F1568 #337F15 #157F61
monochromatic
#1A0416 #4A0C3D #7F1568 #B41E93 #DD31B8

Accessibility & contrast

On white

9.50
#7F1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1568
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1568#FFFFFF#000000##FFFFFF
##7F15681.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3B6A
Deuteranopia (green-blind)
#414B66
Tritanopia (blue-blind)
#871B3E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1568;
/* rgb */ color: rgb(127, 21, 104);
/* oklch */ color: oklch(41.4% 0.163 339.0);
Tailwind
colors: {
  custom: {
    50: '#a86193',
    500: '#7f1568',
    950: '#000000',
  },
}
SCSS
$custom: #7f1568;
$custom-light: #a86193;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1568",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 313.019,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4143,
    "c": 0.1632,
    "h": 339
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#7F1568
secondary
#3CB456
accent
#EE6139
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1568

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

Preview Lab → · Contrast checker → · Palette generator →

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