#7F1759#7F1759

#7F1759 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.152 H 347.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7F1759
RGBrgb(127, 23, 89)
HSLhsl(322, 69%, 29%)
HSVhsv(322, 82%, 50%)
CMYKcmyk(0%, 81.9%, 29.9%, 50.2%)
CIE-LABlab(29.02, 48.57, -12.63)
CIE-LCHlch(29.02, 50.19, 345.43°)
OKLaboklab(40.83% 0.1481 -0.0333)
OKLCHoklch(40.83% 0.152 347.3)
XYZxyz(10.8625, 5.8473, 10.0059)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1759 #177F3D
analogous
#71177F #7F1759 #7F1725
triadic
#7F1759 #597F17 #17597F
tetradic
#7F1759 #7F7117 #177F3D #17257F
square
#7F1759 #7F7117 #177F3D #17257F
split-complementary
#7F1759 #257F17 #177F71
monochromatic
#1A0512 #4B0E35 #7F1759 #B3207D #DB369E

Accessibility & contrast

On white

9.68
#7F1759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1759
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1759#FFFFFF#000000##FFFFFF
##7F17591.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395B
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#881236
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1759;
/* rgb */ color: rgb(127, 23, 89);
/* oklch */ color: oklch(40.8% 0.152 347.3);
Tailwind
colors: {
  custom: {
    50: '#a86188',
    500: '#7f1759',
    950: '#000000',
  },
}
SCSS
$custom: #7f1759;
$custom-light: #a86188;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1759",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 321.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4083,
    "c": 0.15184,
    "h": 347.3
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#7F1759
secondary
#3EB469
accent
#EC7C3C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1759

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

Preview Lab → · Contrast checker → · Palette generator →

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