#7D1166#7D1166

#7D1166 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.164 H 339.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7D1166
RGBrgb(125, 17, 102)
HSLhsl(313, 76%, 28%)
HSVhsv(313, 86%, 49%)
CMYKcmyk(0%, 86.4%, 18.4%, 51%)
CIE-LABlab(28.70, 51.41, -21.64)
CIE-LCHlch(28.70, 55.78, 337.17°)
OKLaboklab(40.72% 0.1532 -0.0587)
OKLCHoklch(40.72% 0.164 339)
XYZxyz(11.0565, 5.7213, 13.0898)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1166 #117D28
analogous
#5E117D #7D1166 #7D1130
triadic
#7D1166 #667D11 #11667D
tetradic
#7D1166 #7D5E11 #117D28 #11307D
square
#7D1166 #7D5E11 #117D28 #11307D
split-complementary
#7D1166 #307D11 #117D5E
monochromatic
#1B0416 #470A3A #7D1166 #B31892 #E227BA

Accessibility & contrast

On white

9.79
#7D1166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1166
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1166#FFFFFF#000000##FFFFFF
##7D11661.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#3F4964
Tritanopia (blue-blind)
#85173C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1166;
/* rgb */ color: rgb(125, 17, 102);
/* oklch */ color: oklch(40.7% 0.164 339.0);
Tailwind
colors: {
  custom: {
    50: '#a65f92',
    500: '#7d1166',
    950: '#000000',
  },
}
SCSS
$custom: #7d1166;
$custom-light: #a65f92;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1166",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 312.778,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40724,
    "c": 0.16408,
    "h": 339
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#7D1166
secondary
#37B351
accent
#F35E35
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7D1166

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

Preview Lab → · Contrast checker → · Palette generator →

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