#7D1766#7D1766

#7D1766 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.159 H 339.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7D1766
RGBrgb(125, 23, 102)
HSLhsl(314, 69%, 29%)
HSVhsv(314, 82%, 49%)
CMYKcmyk(0%, 81.6%, 18.4%, 51%)
CIE-LABlab(29.24, 49.84, -20.79)
CIE-LCHlch(29.24, 54.00, 337.36°)
OKLaboklab(41.12% 0.1485 -0.0563)
OKLCHoklch(41.12% 0.159 339.2)
XYZxyz(11.1624, 5.9332, 13.1252)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1766 #177D2E
analogous
#61177D #7D1766 #7D1733
triadic
#7D1766 #667D17 #17667D
tetradic
#7D1766 #7D6117 #177D2E #17337D
square
#7D1766 #7D6117 #177D2E #17337D
split-complementary
#7D1766 #337D17 #177D61
monochromatic
#1A0515 #490D3C #7D1766 #B12190 #DA35B5

Accessibility & contrast

On white

9.60
#7D1766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1766
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1766#FFFFFF#000000##FFFFFF
##7D17661.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#851C3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1766;
/* rgb */ color: rgb(125, 23, 102);
/* oklch */ color: oklch(41.1% 0.159 339.2);
Tailwind
colors: {
  custom: {
    50: '#a66192',
    500: '#7d1766',
    950: '#000000',
  },
}
SCSS
$custom: #7d1766;
$custom-light: #a66192;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1766",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 313.529,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41115,
    "c": 0.15877,
    "h": 339.2
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#7D1766
secondary
#3EB258
accent
#EC643C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7D1766

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

Preview Lab → · Contrast checker → · Palette generator →

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