#7D2159#7D2159

#7D2159 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.139 H 347.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7D2159
RGBrgb(125, 33, 89)
HSLhsl(323, 58%, 31%)
HSVhsv(323, 74%, 49%)
CMYKcmyk(0%, 73.6%, 28.8%, 51%)
CIE-LABlab(29.84, 44.64, -11.42)
CIE-LCHlch(29.84, 46.08, 345.65°)
OKLaboklab(41.35% 0.1357 -0.0301)
OKLCHoklch(41.35% 0.139 347.5)
XYZxyz(10.8050, 6.1701, 10.0712)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2159 #217D45
analogous
#73217D #7D2159 #7D212B
triadic
#7D2159 #597D21 #21597D
tetradic
#7D2159 #7D7321 #217D45 #212B7D
square
#7D2159 #7D7321 #217D45 #212B7D
split-complementary
#7D2159 #2B7D21 #217D73
monochromatic
#1C0714 #4D1437 #7D2159 #AD2E7B #CF499B

Accessibility & contrast

On white

9.40
#7D2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2159
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2159#FFFFFF#000000##FFFFFF
##7D21591.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5B
Deuteranopia (green-blind)
#484C57
Tritanopia (blue-blind)
#861E3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2159;
/* rgb */ color: rgb(125, 33, 89);
/* oklch */ color: oklch(41.4% 0.139 347.5);
Tailwind
colors: {
  custom: {
    50: '#a66588',
    500: '#7d2159',
    950: '#000000',
  },
}
SCSS
$custom: #7d2159;
$custom-light: #a66588;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2159",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 323.478,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.13895,
    "h": 347.5
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#7D2159
secondary
#4AB072
accent
#E18346
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D2159

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

Preview Lab → · Contrast checker → · Palette generator →

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