#7D2054#7D2054

#7D2054 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.137 H 350.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7D2054
RGBrgb(125, 32, 84)
HSLhsl(326, 59%, 31%)
HSVhsv(326, 74%, 49%)
CMYKcmyk(0%, 74.4%, 32.8%, 51%)
CIE-LABlab(29.50, 44.37, -8.65)
CIE-LCHlch(29.50, 45.20, 348.96°)
OKLaboklab(41.04% 0.1355 -0.0225)
OKLCHoklch(41.04% 0.137 350.6)
XYZxyz(10.5748, 6.0343, 8.9936)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2054 #207D49
analogous
#77207D #7D2054 #7D2025
triadic
#7D2054 #547D20 #20547D
tetradic
#7D2054 #7D7720 #207D49 #20257D
square
#7D2054 #7D7720 #207D49 #20257D
split-complementary
#7D2054 #257D20 #207D77
monochromatic
#1C0713 #4C1433 #7D2054 #AE2C75 #D04794

Accessibility & contrast

On white

9.52
#7D2054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D2054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2054
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2054#FFFFFF#000000##FFFFFF
##7D20541.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B55
Deuteranopia (green-blind)
#4A4C52
Tritanopia (blue-blind)
#871A37
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2054;
/* rgb */ color: rgb(125, 32, 84);
/* oklch */ color: oklch(41.0% 0.137 350.6);
Tailwind
colors: {
  custom: {
    50: '#a66484',
    500: '#7d2054',
    950: '#000000',
  },
}
SCSS
$custom: #7d2054;
$custom-light: #a66484;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2054",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 326.452,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41037,
    "c": 0.13738,
    "h": 350.6
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#7D2054
secondary
#49B076
accent
#E28B45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D2054

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

Preview Lab → · Contrast checker → · Palette generator →

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