#7F1264#7F1264

#7F1264 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.163 H 340.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7F1264
RGBrgb(127, 18, 100)
HSLhsl(315, 75%, 28%)
HSVhsv(315, 86%, 50%)
CMYKcmyk(0%, 85.8%, 21.3%, 50.2%)
CIE-LABlab(29.07, 51.36, -19.73)
CIE-LCHlch(29.07, 55.02, 338.98°)
OKLaboklab(41.03% 0.1542 -0.0532)
OKLCHoklch(41.03% 0.163 340.9)
XYZxyz(11.2693, 5.8659, 12.5929)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1264 #127F2D
analogous
#63127F #7F1264 #7F122E
triadic
#7F1264 #647F12 #12647F
tetradic
#7F1264 #7F6312 #127F2D #122E7F
square
#7F1264 #7F6312 #127F2D #122E7F
split-complementary
#7F1264 #2E7F12 #127F63
monochromatic
#1B0415 #490A3A #7F1264 #B51A8E #E12BB4

Accessibility & contrast

On white

9.66
#7F1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1264
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1264#FFFFFF#000000##FFFFFF
##7F12641.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A66
Deuteranopia (green-blind)
#424B62
Tritanopia (blue-blind)
#87163B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1264;
/* rgb */ color: rgb(127, 18, 100);
/* oklch */ color: oklch(41.0% 0.163 340.9);
Tailwind
colors: {
  custom: {
    50: '#a86090',
    500: '#7f1264',
    950: '#000000',
  },
}
SCSS
$custom: #7f1264;
$custom-light: #a86090;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1264",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 314.862,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.16311,
    "h": 340.9
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#7F1264
secondary
#38B557
accent
#F26536
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1264

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

Preview Lab → · Contrast checker → · Palette generator →

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