#7F106A#7F106A

#7F106A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.2% C 0.169 H 337.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7F106A
RGBrgb(127, 16, 106)
HSLhsl(311, 78%, 28%)
HSVhsv(311, 87%, 50%)
CMYKcmyk(0%, 87.4%, 16.5%, 50.2%)
CIE-LABlab(29.22, 52.66, -23.38)
CIE-LCHlch(29.22, 57.62, 336.06°)
OKLaboklab(41.24% 0.1562 -0.0636)
OKLCHoklch(41.24% 0.169 337.8)
XYZxyz(11.5395, 5.9244, 14.1687)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F106A #107F25
analogous
#5C107F #7F106A #7F1033
triadic
#7F106A #6A7F10 #106A7F
tetradic
#7F106A #7F5C10 #107F25 #10337F
square
#7F106A #7F5C10 #107F25 #10337F
split-complementary
#7F106A #337F10 #107F5C
monochromatic
#1B0317 #49093D #7F106A #B51797 #E426C0

Accessibility & contrast

On white

9.61
#7F106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F106A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F106A#FFFFFF#000000##FFFFFF
##7F106A1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163A6C
Deuteranopia (green-blind)
#3F4B68
Tritanopia (blue-blind)
#86193E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f106a;
/* rgb */ color: rgb(127, 16, 106);
/* oklch */ color: oklch(41.2% 0.169 337.8);
Tailwind
colors: {
  custom: {
    50: '#a86095',
    500: '#7f106a',
    950: '#000000',
  },
}
SCSS
$custom: #7f106a;
$custom-light: #a86095;
$custom-dark: #000000;
JSON
{
  "hex": "#7f106a",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 311.351,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41238,
    "c": 0.16864,
    "h": 337.8
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#7F106A
secondary
#36B54E
accent
#F45834
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F106A

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

Preview Lab → · Contrast checker → · Palette generator →

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