#7D1651#7D1651

#7D1651 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.147 H 351.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7D1651
RGBrgb(125, 22, 81)
HSLhsl(326, 70%, 29%)
HSVhsv(326, 82%, 49%)
CMYKcmyk(0%, 82.4%, 35.2%, 51%)
CIE-LABlab(28.19, 47.36, -8.65)
CIE-LCHlch(28.19, 48.14, 349.65°)
OKLaboklab(40.04% 0.1453 -0.0224)
OKLCHoklch(40.04% 0.147 351.2)
XYZxyz(10.2302, 5.5291, 8.3115)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1651 #167D42
analogous
#76167D #7D1651 #7D161E
triadic
#7D1651 #517D16 #16517D
tetradic
#7D1651 #7D7616 #167D42 #161E7D
square
#7D1651 #7D7616 #167D42 #161E7D
split-complementary
#7D1651 #1E7D16 #167D76
monochromatic
#1A0511 #490D2F #7D1651 #B11F73 #DB3293

Accessibility & contrast

On white

9.97
#7D1651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1651 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1651
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1651#FFFFFF#000000##FFFFFF
##7D16511.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#870C32
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1651;
/* rgb */ color: rgb(125, 22, 81);
/* oklch */ color: oklch(40.0% 0.147 351.2);
Tailwind
colors: {
  custom: {
    50: '#a76081',
    500: '#7d1651',
    950: '#000000',
  },
}
SCSS
$custom: #7d1651;
$custom-light: #a76081;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1651",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 325.631,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.147,
    "h": 351.2
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#7D1651
secondary
#3DB26F
accent
#ED873B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7D1651

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

Preview Lab → · Contrast checker → · Palette generator →

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