#7F106C#7F106C

#7F106C is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.170 H 336.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7F106C
RGBrgb(127, 16, 108)
HSLhsl(310, 78%, 28%)
HSVhsv(310, 87%, 50%)
CMYKcmyk(0%, 87.4%, 15%, 50.2%)
CIE-LABlab(29.33, 52.95, -24.50)
CIE-LCHlch(29.33, 58.35, 335.17°)
OKLaboklab(41.35% 0.1563 -0.0669)
OKLCHoklch(41.35% 0.17 336.8)
XYZxyz(11.6447, 5.9665, 14.7228)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F106C #107F23
analogous
#5A107F #7F106C #7F1035
triadic
#7F106C #6C7F10 #106C7F
tetradic
#7F106C #7F5A10 #107F23 #10357F
square
#7F106C #7F5A10 #107F23 #10357F
split-complementary
#7F106C #357F10 #107F5A
monochromatic
#1B0317 #49093E #7F106C #B5179A #E426C3

Accessibility & contrast

On white

9.58
#7F106C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F106C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F106C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F106C#FFFFFF#000000##FFFFFF
##7F106C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143B6E
Deuteranopia (green-blind)
#3E4B6A
Tritanopia (blue-blind)
#861A3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f106c;
/* rgb */ color: rgb(127, 16, 108);
/* oklch */ color: oklch(41.3% 0.170 336.8);
Tailwind
colors: {
  custom: {
    50: '#a86096',
    500: '#7f106c',
    950: '#000000',
  },
}
SCSS
$custom: #7f106c;
$custom-light: #a86096;
$custom-dark: #000000;
JSON
{
  "hex": "#7f106c",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 108
  },
  "hsl": {
    "h": 310.27,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.17001,
    "h": 336.8
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#7F106C
secondary
#36B54B
accent
#F45534
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F106C

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

Preview Lab → · Contrast checker → · Palette generator →

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