#7F1764#7F1764

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

Color values

HEX#7F1764
RGBrgb(127, 23, 100)
HSLhsl(316, 69%, 29%)
HSVhsv(316, 82%, 50%)
CMYKcmyk(0%, 81.9%, 21.3%, 50.2%)
CIE-LABlab(29.53, 50.04, -19.02)
CIE-LCHlch(29.53, 53.54, 339.19°)
OKLaboklab(41.36% 0.1502 -0.0513)
OKLCHoklch(41.36% 0.159 341.1)
XYZxyz(11.3594, 6.0461, 12.6229)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1764 #177F32
analogous
#66177F #7F1764 #7F1730
triadic
#7F1764 #647F17 #17647F
tetradic
#7F1764 #7F6617 #177F32 #17307F
square
#7F1764 #7F6617 #177F32 #17307F
split-complementary
#7F1764 #307F17 #177F66
monochromatic
#1A0514 #4B0E3B #7F1764 #B3208D #DB36B0

Accessibility & contrast

On white

9.51
#7F1764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1764
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1764#FFFFFF#000000##FFFFFF
##7F17641.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B66
Deuteranopia (green-blind)
#434B62
Tritanopia (blue-blind)
#871A3C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1764;
/* rgb */ color: rgb(127, 23, 100);
/* oklch */ color: oklch(41.4% 0.159 341.1);
Tailwind
colors: {
  custom: {
    50: '#a86290',
    500: '#7f1764',
    950: '#000000',
  },
}
SCSS
$custom: #7f1764;
$custom-light: #a86290;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1764",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 315.577,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4136,
    "c": 0.15866,
    "h": 341.1
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#7F1764
secondary
#3EB45D
accent
#EC693C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1764

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

Preview Lab → · Contrast checker → · Palette generator →

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