#7F106B#7F106B

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

Color values

HEX#7F106B
RGBrgb(127, 16, 107)
HSLhsl(311, 78%, 28%)
HSVhsv(311, 87%, 50%)
CMYKcmyk(0%, 87.4%, 15.7%, 50.2%)
CIE-LABlab(29.27, 52.81, -23.94)
CIE-LCHlch(29.27, 57.98, 335.61°)
OKLaboklab(41.29% 0.1562 -0.0652)
OKLCHoklch(41.29% 0.169 337.3)
XYZxyz(11.5918, 5.9453, 14.4441)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F106B #107F24
analogous
#5B107F #7F106B #7F1033
triadic
#7F106B #6B7F10 #106B7F
tetradic
#7F106B #7F5B10 #107F24 #10337F
square
#7F106B #7F5B10 #107F24 #10337F
split-complementary
#7F106B #337F10 #107F5B
monochromatic
#1B0317 #49093D #7F106B #B51799 #E426C1

Accessibility & contrast

On white

9.59
#7F106B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F106B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F106B#FFFFFF#000000##FFFFFF
##7F106B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6D
Deuteranopia (green-blind)
#3E4B69
Tritanopia (blue-blind)
#86193F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f106b;
/* rgb */ color: rgb(127, 16, 107);
/* oklch */ color: oklch(41.3% 0.169 337.3);
Tailwind
colors: {
  custom: {
    50: '#a86095',
    500: '#7f106b',
    950: '#000000',
  },
}
SCSS
$custom: #7f106b;
$custom-light: #a86095;
$custom-dark: #000000;
JSON
{
  "hex": "#7f106b",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 107
  },
  "hsl": {
    "h": 310.811,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41293,
    "c": 0.16931,
    "h": 337.3
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#7F106B
secondary
#36B54D
accent
#F45634
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F106B

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

Preview Lab → · Contrast checker → · Palette generator →

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