#7D2161#7D2161

#7D2161 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.144 H 342.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7D2161
RGBrgb(125, 33, 97)
HSLhsl(318, 58%, 31%)
HSVhsv(318, 74%, 49%)
CMYKcmyk(0%, 73.6%, 22.4%, 51%)
CIE-LABlab(30.19, 45.75, -16.09)
CIE-LCHlch(30.19, 48.50, 340.62°)
OKLaboklab(41.72% 0.1374 -0.0431)
OKLCHoklch(41.72% 0.144 342.6)
XYZxyz(11.1593, 6.3119, 11.9376)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2161 #217D3D
analogous
#6B217D #7D2161 #7D2133
triadic
#7D2161 #617D21 #21617D
tetradic
#7D2161 #7D6B21 #217D3D #21337D
square
#7D2161 #7D6B21 #217D3D #21337D
split-complementary
#7D2161 #337D21 #217D6B
monochromatic
#1C0716 #4D143B #7D2161 #AD2E87 #CF49A6

Accessibility & contrast

On white

9.28
#7D2161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D2161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2161
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2161#FFFFFF#000000##FFFFFF
##7D21611.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D63
Deuteranopia (green-blind)
#464D5F
Tritanopia (blue-blind)
#85223E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2161;
/* rgb */ color: rgb(125, 33, 97);
/* oklch */ color: oklch(41.7% 0.144 342.6);
Tailwind
colors: {
  custom: {
    50: '#a6658e',
    500: '#7d2161',
    950: '#000000',
  },
}
SCSS
$custom: #7d2161;
$custom-light: #a6658e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2161",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 318.261,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4172,
    "c": 0.14404,
    "h": 342.6
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#7D2161
secondary
#4AB069
accent
#E17646
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D2161

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

Preview Lab → · Contrast checker → · Palette generator →

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