#7F1167#7F1167

#7F1167 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.166 H 339.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7F1167
RGBrgb(127, 17, 103)
HSLhsl(313, 76%, 28%)
HSVhsv(313, 87%, 50%)
CMYKcmyk(0%, 86.6%, 18.9%, 50.2%)
CIE-LABlab(29.14, 52.01, -21.57)
CIE-LCHlch(29.14, 56.31, 337.48°)
OKLaboklab(41.13% 0.1552 -0.0585)
OKLCHoklch(41.13% 0.166 339.4)
XYZxyz(11.4014, 5.8934, 13.3664)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1167 #117F29
analogous
#60117F #7F1167 #7F1130
triadic
#7F1167 #677F11 #11677F
tetradic
#7F1167 #7F6011 #117F29 #11307F
square
#7F1167 #7F6011 #117F29 #11307F
split-complementary
#7F1167 #307F11 #117F60
monochromatic
#1B0416 #490A3B #7F1167 #B51893 #E228BA

Accessibility & contrast

On white

9.64
#7F1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1167
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1167#FFFFFF#000000##FFFFFF
##7F11671.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A69
Deuteranopia (green-blind)
#404B65
Tritanopia (blue-blind)
#87173D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1167;
/* rgb */ color: rgb(127, 17, 103);
/* oklch */ color: oklch(41.1% 0.166 339.4);
Tailwind
colors: {
  custom: {
    50: '#a86092',
    500: '#7f1167',
    950: '#000000',
  },
}
SCSS
$custom: #7f1167;
$custom-light: #a86092;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1167",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 313.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4113,
    "c": 0.16587,
    "h": 339.4
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#7F1167
secondary
#37B552
accent
#F35E35
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F1167

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

Preview Lab → · Contrast checker → · Palette generator →

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