#7D2056#7D2056

#7D2056 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.138 H 349.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7D2056
RGBrgb(125, 32, 86)
HSLhsl(325, 59%, 31%)
HSVhsv(325, 74%, 49%)
CMYKcmyk(0%, 74.4%, 31.2%, 51%)
CIE-LABlab(29.58, 44.62, -9.85)
CIE-LCHlch(29.58, 45.70, 347.56°)
OKLaboklab(41.12% 0.1361 -0.0258)
OKLCHoklch(41.12% 0.138 349.3)
XYZxyz(10.6542, 6.0661, 9.4121)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2056 #207D47
analogous
#75207D #7D2056 #7D2027
triadic
#7D2056 #567D20 #20567D
tetradic
#7D2056 #7D7520 #207D47 #20277D
square
#7D2056 #7D7520 #207D47 #20277D
split-complementary
#7D2056 #277D20 #207D75
monochromatic
#1C0713 #4C1434 #7D2056 #AE2C78 #D04797

Accessibility & contrast

On white

9.49
#7D2056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2056
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2056#FFFFFF#000000##FFFFFF
##7D20561.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B57
Deuteranopia (green-blind)
#494C54
Tritanopia (blue-blind)
#861B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2056;
/* rgb */ color: rgb(125, 32, 86);
/* oklch */ color: oklch(41.1% 0.138 349.3);
Tailwind
colors: {
  custom: {
    50: '#a66485',
    500: '#7d2056',
    950: '#000000',
  },
}
SCSS
$custom: #7d2056;
$custom-light: #a66485;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2056",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 325.161,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.13848,
    "h": 349.3
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#7D2056
secondary
#49B074
accent
#E28745
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D2056

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

Preview Lab → · Contrast checker → · Palette generator →

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