#7F1760#7F1760

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

Color values

HEX#7F1760
RGBrgb(127, 23, 96)
HSLhsl(318, 69%, 29%)
HSVhsv(318, 82%, 50%)
CMYKcmyk(0%, 81.9%, 24.4%, 50.2%)
CIE-LABlab(29.34, 49.49, -16.72)
CIE-LCHlch(29.34, 52.24, 341.33°)
OKLaboklab(41.16% 0.1495 -0.0448)
OKLCHoklch(41.16% 0.156 343.3)
XYZxyz(11.1706, 5.9706, 11.6282)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1760 #177F36
analogous
#6A177F #7F1760 #7F172C
triadic
#7F1760 #607F17 #17607F
tetradic
#7F1760 #7F6A17 #177F36 #172C7F
square
#7F1760 #7F6A17 #177F36 #172C7F
split-complementary
#7F1760 #2C7F17 #177F6A
monochromatic
#1A0514 #4B0E39 #7F1760 #B32087 #DB36A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1760#FFFFFF#000000##FFFFFF
##7F17601.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)
#243A62
Deuteranopia (green-blind)
#454B5E
Tritanopia (blue-blind)
#88173A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1760;
/* rgb */ color: rgb(127, 23, 96);
/* oklch */ color: oklch(41.2% 0.156 343.3);
Tailwind
colors: {
  custom: {
    50: '#a8618d',
    500: '#7f1760',
    950: '#000000',
  },
}
SCSS
$custom: #7f1760;
$custom-light: #a8618d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1760",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 317.885,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4116,
    "c": 0.15608,
    "h": 343.3
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#7F1760
secondary
#3EB461
accent
#EC703C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1760

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

Preview Lab → · Contrast checker → · Palette generator →

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