#7D2057#7D2057

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

Color values

HEX#7D2057
RGBrgb(125, 32, 87)
HSLhsl(325, 59%, 31%)
HSVhsv(325, 74%, 49%)
CMYKcmyk(0%, 74.4%, 30.4%, 51%)
CIE-LABlab(29.62, 44.75, -10.44)
CIE-LCHlch(29.62, 45.96, 346.87°)
OKLaboklab(41.17% 0.1363 -0.0274)
OKLCHoklch(41.17% 0.139 348.6)
XYZxyz(10.6948, 6.0823, 9.6258)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2057 #207D46
analogous
#74207D #7D2057 #7D2028
triadic
#7D2057 #577D20 #20577D
tetradic
#7D2057 #7D7420 #207D46 #20287D
square
#7D2057 #7D7420 #207D46 #20287D
split-complementary
#7D2057 #287D20 #207D74
monochromatic
#1C0713 #4C1435 #7D2057 #AE2C79 #D04798

Accessibility & contrast

On white

9.48
#7D2057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2057
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2057#FFFFFF#000000##FFFFFF
##7D20571.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B59
Deuteranopia (green-blind)
#494C55
Tritanopia (blue-blind)
#861C38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2057;
/* rgb */ color: rgb(125, 32, 87);
/* oklch */ color: oklch(41.2% 0.139 348.6);
Tailwind
colors: {
  custom: {
    50: '#a66486',
    500: '#7d2057',
    950: '#000000',
  },
}
SCSS
$custom: #7d2057;
$custom-light: #a66486;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2057",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 324.516,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41165,
    "c": 0.13906,
    "h": 348.6
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#7D2057
secondary
#49B073
accent
#E28645
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D2057

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

Preview Lab → · Contrast checker → · Palette generator →

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