#7D2052#7D2052

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

Color values

HEX#7D2052
RGBrgb(125, 32, 82)
HSLhsl(328, 59%, 31%)
HSVhsv(328, 74%, 49%)
CMYKcmyk(0%, 74.4%, 34.4%, 51%)
CIE-LABlab(29.42, 44.11, -7.46)
CIE-LCHlch(29.42, 44.74, 350.41°)
OKLaboklab(40.96% 0.1349 -0.0192)
OKLCHoklch(40.96% 0.136 351.9)
XYZxyz(10.4975, 6.0034, 8.5870)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2052 #207D4B
analogous
#79207D #7D2052 #7D2023
triadic
#7D2052 #527D20 #20527D
tetradic
#7D2052 #7D7920 #207D4B #20237D
square
#7D2052 #7D7920 #207D4B #20237D
split-complementary
#7D2052 #237D20 #207D79
monochromatic
#1C0712 #4C1432 #7D2052 #AE2C72 #D04791

Accessibility & contrast

On white

9.54
#7D2052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D2052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2052
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2052#FFFFFF#000000##FFFFFF
##7D20521.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#871936
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2052;
/* rgb */ color: rgb(125, 32, 82);
/* oklch */ color: oklch(41.0% 0.136 351.9);
Tailwind
colors: {
  custom: {
    50: '#a66482',
    500: '#7d2052',
    950: '#000000',
  },
}
SCSS
$custom: #7d2052;
$custom-light: #a66482;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2052",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 327.742,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40955,
    "c": 0.13631,
    "h": 351.9
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#7D2052
secondary
#49B079
accent
#E28E45
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D2052

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

Preview Lab → · Contrast checker → · Palette generator →

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