#7D1A52#7D1A52

#7D1A52 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.143 H 351.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7D1A52
RGBrgb(125, 26, 82)
HSLhsl(326, 66%, 30%)
HSVhsv(326, 79%, 49%)
CMYKcmyk(0%, 79.2%, 34.4%, 51%)
CIE-LABlab(28.67, 46.24, -8.59)
CIE-LCHlch(28.67, 47.03, 349.47°)
OKLaboklab(40.4% 0.1416 -0.0223)
OKLCHoklch(40.4% 0.143 351.1)
XYZxyz(10.3504, 5.7092, 8.5379)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A52 #1A7D45
analogous
#771A7D #7D1A52 #7D1A20
triadic
#7D1A52 #527D1A #1A527D
tetradic
#7D1A52 #7D771A #1A7D45 #1A207D
square
#7D1A52 #7D771A #1A7D45 #1A207D
split-complementary
#7D1A52 #207D1A #1A7D77
monochromatic
#190511 #4A0F31 #7D1A52 #B02573 #D63B93

Accessibility & contrast

On white

9.81
#7D1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A52
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A52#FFFFFF#000000##FFFFFF
##7D1A521.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#871234
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1a52;
/* rgb */ color: rgb(125, 26, 82);
/* oklch */ color: oklch(40.4% 0.143 351.1);
Tailwind
colors: {
  custom: {
    50: '#a76282',
    500: '#7d1a52',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a52;
$custom-light: #a76282;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a52",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 326.061,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.14338,
    "h": 351.1
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#7D1A52
secondary
#42B172
accent
#E9893F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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