#7F1165#7F1165

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

Color values

HEX#7F1165
RGBrgb(127, 17, 101)
HSLhsl(314, 76%, 28%)
HSVhsv(314, 87%, 50%)
CMYKcmyk(0%, 86.6%, 20.5%, 50.2%)
CIE-LABlab(29.04, 51.73, -20.43)
CIE-LCHlch(29.04, 55.62, 338.45°)
OKLaboklab(41.03% 0.155 -0.0552)
OKLCHoklch(41.03% 0.165 340.4)
XYZxyz(11.3022, 5.8537, 12.8441)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1165 #117F2B
analogous
#62117F #7F1165 #7F112E
triadic
#7F1165 #657F11 #11657F
tetradic
#7F1165 #7F6211 #117F2B #112E7F
square
#7F1165 #7F6211 #117F2B #112E7F
split-complementary
#7F1165 #2E7F11 #117F62
monochromatic
#1B0415 #490A3A #7F1165 #B51890 #E228B6

Accessibility & contrast

On white

9.67
#7F1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1165
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1165#FFFFFF#000000##FFFFFF
##7F11651.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A67
Deuteranopia (green-blind)
#414A63
Tritanopia (blue-blind)
#87163B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1165;
/* rgb */ color: rgb(127, 17, 101);
/* oklch */ color: oklch(41.0% 0.165 340.4);
Tailwind
colors: {
  custom: {
    50: '#a86091',
    500: '#7f1165',
    950: '#000000',
  },
}
SCSS
$custom: #7f1165;
$custom-light: #a86091;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1165",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 314.182,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.16455,
    "h": 340.4
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#7F1165
secondary
#37B555
accent
#F36235
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1165

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

Preview Lab → · Contrast checker → · Palette generator →

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