#7F1761#7F1761

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

Color values

HEX#7F1761
RGBrgb(127, 23, 97)
HSLhsl(317, 69%, 29%)
HSVhsv(317, 82%, 50%)
CMYKcmyk(0%, 81.9%, 23.6%, 50.2%)
CIE-LABlab(29.38, 49.63, -17.30)
CIE-LCHlch(29.38, 52.56, 340.78°)
OKLaboklab(41.21% 0.1497 -0.0464)
OKLCHoklch(41.21% 0.157 342.8)
XYZxyz(11.2169, 5.9891, 11.8722)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1761 #177F35
analogous
#69177F #7F1761 #7F172D
triadic
#7F1761 #617F17 #17617F
tetradic
#7F1761 #7F6917 #177F35 #172D7F
square
#7F1761 #7F6917 #177F35 #172D7F
split-complementary
#7F1761 #2D7F17 #177F69
monochromatic
#1A0514 #4B0E39 #7F1761 #B32089 #DB36AB

Accessibility & contrast

On white

9.56
#7F1761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F1761 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1761
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1761#FFFFFF#000000##FFFFFF
##7F17611.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A63
Deuteranopia (green-blind)
#444B5F
Tritanopia (blue-blind)
#88183B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1761;
/* rgb */ color: rgb(127, 23, 97);
/* oklch */ color: oklch(41.2% 0.157 342.8);
Tailwind
colors: {
  custom: {
    50: '#a8618e',
    500: '#7f1761',
    950: '#000000',
  },
}
SCSS
$custom: #7f1761;
$custom-light: #a8618e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1761",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 317.308,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41209,
    "c": 0.15671,
    "h": 342.8
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#7F1761
secondary
#3EB460
accent
#EC6F3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1761

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

Preview Lab → · Contrast checker → · Palette generator →

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