#7F1769#7F1769

#7F1769 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.6% C 0.162 H 338.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7F1769
RGBrgb(127, 23, 105)
HSLhsl(313, 69%, 29%)
HSVhsv(313, 82%, 50%)
CMYKcmyk(0%, 81.9%, 17.3%, 50.2%)
CIE-LABlab(29.78, 50.76, -21.87)
CIE-LCHlch(29.78, 55.27, 336.69°)
OKLaboklab(41.62% 0.1508 -0.0593)
OKLCHoklch(41.62% 0.162 338.5)
XYZxyz(11.6089, 6.1459, 13.9368)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1769 #177F2D
analogous
#61177F #7F1769 #7F1735
triadic
#7F1769 #697F17 #17697F
tetradic
#7F1769 #7F6117 #177F2D #17357F
square
#7F1769 #7F6117 #177F2D #17357F
split-complementary
#7F1769 #357F17 #177F61
monochromatic
#1A0515 #4B0E3E #7F1769 #B32094 #DB36B8

Accessibility & contrast

On white

9.42
#7F1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1769
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1769#FFFFFF#000000##FFFFFF
##7F17691.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6B
Deuteranopia (green-blind)
#414C67
Tritanopia (blue-blind)
#871D3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1769;
/* rgb */ color: rgb(127, 23, 105);
/* oklch */ color: oklch(41.6% 0.162 338.5);
Tailwind
colors: {
  custom: {
    50: '#a86294',
    500: '#7f1769',
    950: '#000000',
  },
}
SCSS
$custom: #7f1769;
$custom-light: #a86294;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1769",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 312.692,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4162,
    "c": 0.16203,
    "h": 338.5
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#7F1769
secondary
#3EB457
accent
#EC613C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1769

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

Preview Lab → · Contrast checker → · Palette generator →

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