#7D1E52#7D1E52

#7D1E52 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.139 H 351.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7D1E52
RGBrgb(125, 30, 82)
HSLhsl(327, 61%, 30%)
HSVhsv(327, 76%, 49%)
CMYKcmyk(0%, 76%, 34.4%, 51%)
CIE-LABlab(29.16, 44.86, -7.85)
CIE-LCHlch(29.16, 45.54, 350.07°)
OKLaboklab(40.76% 0.1373 -0.0203)
OKLCHoklch(40.76% 0.139 351.6)
XYZxyz(10.4453, 5.8989, 8.5696)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E52 #1E7D49
analogous
#781E7D #7D1E52 #7D1E22
triadic
#7D1E52 #527D1E #1E527D
tetradic
#7D1E52 #7D781E #1E7D49 #1E227D
square
#7D1E52 #7D781E #1E7D49 #1E227D
split-complementary
#7D1E52 #227D1E #1E7D78
monochromatic
#1A0611 #4C1232 #7D1E52 #AE2A72 #D24391

Accessibility & contrast

On white

9.63
#7D1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E52
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E52#FFFFFF#000000##FFFFFF
##7D1E521.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#871735
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1e52;
/* rgb */ color: rgb(125, 30, 82);
/* oklch */ color: oklch(40.8% 0.139 351.6);
Tailwind
colors: {
  custom: {
    50: '#a76382',
    500: '#7d1e52',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e52;
$custom-light: #a76382;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e52",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 327.158,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40761,
    "c": 0.13878,
    "h": 351.6
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#7D1E52
secondary
#46B076
accent
#E48C43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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