#7D1761#7D1761

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

Color values

HEX#7D1761
RGBrgb(125, 23, 97)
HSLhsl(316, 69%, 29%)
HSVhsv(316, 82%, 49%)
CMYKcmyk(0%, 81.6%, 22.4%, 51%)
CIE-LABlab(29.00, 49.13, -17.93)
CIE-LCHlch(29.00, 52.30, 339.95°)
OKLaboklab(40.86% 0.1478 -0.0482)
OKLCHoklch(40.86% 0.155 341.9)
XYZxyz(10.9219, 5.8370, 11.8584)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1761 #177D33
analogous
#66177D #7D1761 #7D172E
triadic
#7D1761 #617D17 #17617D
tetradic
#7D1761 #7D6617 #177D33 #172E7D
square
#7D1761 #7D6617 #177D33 #172E7D
split-complementary
#7D1761 #2E7D17 #177D66
monochromatic
#1A0514 #490D39 #7D1761 #B12189 #DA35AC

Accessibility & contrast

On white

9.69
#7D1761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D1761 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1761
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1761#FFFFFF#000000##FFFFFF
##7D17611.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A63
Deuteranopia (green-blind)
#434A5F
Tritanopia (blue-blind)
#85193B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1761;
/* rgb */ color: rgb(125, 23, 97);
/* oklch */ color: oklch(40.9% 0.155 341.9);
Tailwind
colors: {
  custom: {
    50: '#a6618e',
    500: '#7d1761',
    950: '#000000',
  },
}
SCSS
$custom: #7d1761;
$custom-light: #a6618e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1761",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 316.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.15544,
    "h": 341.9
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#7D1761
secondary
#3EB25E
accent
#EC6C3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1761

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

Preview Lab → · Contrast checker → · Palette generator →

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