#7F1066#7F1066

#7F1066 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 41.0% C 0.166 H 339.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7F1066
RGBrgb(127, 16, 102)
HSLhsl(314, 78%, 28%)
HSVhsv(314, 87%, 50%)
CMYKcmyk(0%, 87.4%, 19.7%, 50.2%)
CIE-LABlab(29.01, 52.10, -21.12)
CIE-LCHlch(29.01, 56.22, 337.93°)
OKLaboklab(41.02% 0.1558 -0.0572)
OKLCHoklch(41.02% 0.166 339.8)
XYZxyz(11.3363, 5.8431, 13.0986)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1066 #107F29
analogous
#61107F #7F1066 #7F102E
triadic
#7F1066 #667F10 #10667F
tetradic
#7F1066 #7F6110 #107F29 #102E7F
square
#7F1066 #7F6110 #107F29 #102E7F
split-complementary
#7F1066 #2E7F10 #107F61
monochromatic
#1B0316 #49093A #7F1066 #B51792 #E426B9

Accessibility & contrast

On white

9.68
#7F1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1066
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1066#FFFFFF#000000##FFFFFF
##7F10661.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3968
Deuteranopia (green-blind)
#414A64
Tritanopia (blue-blind)
#87163C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1066;
/* rgb */ color: rgb(127, 16, 102);
/* oklch */ color: oklch(41.0% 0.166 339.8);
Tailwind
colors: {
  custom: {
    50: '#a86092',
    500: '#7f1066',
    950: '#000000',
  },
}
SCSS
$custom: #7f1066;
$custom-light: #a86092;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1066",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 313.514,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41022,
    "c": 0.16597,
    "h": 339.8
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#7F1066
secondary
#36B552
accent
#F45F34
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7F1066

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

Preview Lab → · Contrast checker → · Palette generator →

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