#7D1661#7D1661

#7D1661 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.156 H 341.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7D1661
RGBrgb(125, 22, 97)
HSLhsl(316, 70%, 29%)
HSVhsv(316, 82%, 49%)
CMYKcmyk(0%, 82.4%, 22.4%, 51%)
CIE-LABlab(28.90, 49.42, -18.08)
CIE-LCHlch(28.90, 52.62, 339.90°)
OKLaboklab(40.79% 0.1487 -0.0486)
OKLCHoklch(40.79% 0.156 341.9)
XYZxyz(10.9024, 5.7980, 11.8519)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1661 #167D32
analogous
#66167D #7D1661 #7D162E
triadic
#7D1661 #617D16 #16617D
tetradic
#7D1661 #7D6616 #167D32 #162E7D
square
#7D1661 #7D6616 #167D32 #162E7D
split-complementary
#7D1661 #2E7D16 #167D66
monochromatic
#1A0514 #490D39 #7D1661 #B11F89 #DB32AD

Accessibility & contrast

On white

9.72
#7D1661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1661
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1661#FFFFFF#000000##FFFFFF
##7D16611.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A63
Deuteranopia (green-blind)
#424A5F
Tritanopia (blue-blind)
#85183A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1661;
/* rgb */ color: rgb(125, 22, 97);
/* oklch */ color: oklch(40.8% 0.156 341.9);
Tailwind
colors: {
  custom: {
    50: '#a6618e',
    500: '#7d1661',
    950: '#000000',
  },
}
SCSS
$custom: #7d1661;
$custom-light: #a6618e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1661",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 316.311,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40786,
    "c": 0.15641,
    "h": 341.9
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#7D1661
secondary
#3DB25D
accent
#ED6B3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D1661

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

Preview Lab → · Contrast checker → · Palette generator →

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