#7D2058#7D2058

#7D2058 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.140 H 348.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7D2058
RGBrgb(125, 32, 88)
HSLhsl(324, 59%, 31%)
HSVhsv(324, 74%, 49%)
CMYKcmyk(0%, 74.4%, 29.6%, 51%)
CIE-LABlab(29.66, 44.88, -11.03)
CIE-LCHlch(29.66, 46.22, 346.19°)
OKLaboklab(41.21% 0.1366 -0.029)
OKLCHoklch(41.21% 0.14 348)
XYZxyz(10.7359, 6.0988, 9.8424)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2058 #207D45
analogous
#73207D #7D2058 #7D2029
triadic
#7D2058 #587D20 #20587D
tetradic
#7D2058 #7D7320 #207D45 #20297D
square
#7D2058 #7D7320 #207D45 #20297D
split-complementary
#7D2058 #297D20 #207D73
monochromatic
#1C0713 #4C1436 #7D2058 #AE2C7A #D0479A

Accessibility & contrast

On white

9.46
#7D2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D2058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2058
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2058#FFFFFF#000000##FFFFFF
##7D20581.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5A
Deuteranopia (green-blind)
#484C56
Tritanopia (blue-blind)
#861C39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2058;
/* rgb */ color: rgb(125, 32, 88);
/* oklch */ color: oklch(41.2% 0.140 348.0);
Tailwind
colors: {
  custom: {
    50: '#a66487',
    500: '#7d2058',
    950: '#000000',
  },
}
SCSS
$custom: #7d2058;
$custom-light: #a66487;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2058",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 323.871,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.13963,
    "h": 348
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#7D2058
secondary
#49B072
accent
#E28445
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D2058

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

Preview Lab → · Contrast checker → · Palette generator →

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