#7D1A58#7D1A58

#7D1A58 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.147 H 347.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7D1A58
RGBrgb(125, 26, 88)
HSLhsl(322, 66%, 30%)
HSVhsv(322, 79%, 49%)
CMYKcmyk(0%, 79.2%, 29.6%, 51%)
CIE-LABlab(28.91, 46.99, -12.17)
CIE-LCHlch(28.91, 48.54, 345.48°)
OKLaboklab(40.66% 0.1432 -0.0321)
OKLCHoklch(40.66% 0.147 347.4)
XYZxyz(10.5888, 5.8045, 9.7934)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A58 #1A7D3F
analogous
#711A7D #7D1A58 #7D1A27
triadic
#7D1A58 #587D1A #1A587D
tetradic
#7D1A58 #7D711A #1A7D3F #1A277D
square
#7D1A58 #7D711A #1A7D3F #1A277D
split-complementary
#7D1A58 #277D1A #1A7D71
monochromatic
#190512 #4A0F34 #7D1A58 #B0257C #D63B9C

Accessibility & contrast

On white

9.72
#7D1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A58
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A58#FFFFFF#000000##FFFFFF
##7D1A581.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29395A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#861637
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1a58;
/* rgb */ color: rgb(125, 26, 88);
/* oklch */ color: oklch(40.7% 0.147 347.4);
Tailwind
colors: {
  custom: {
    50: '#a66287',
    500: '#7d1a58',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a58;
$custom-light: #a66287;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a58",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 322.424,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.14672,
    "h": 347.4
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#7D1A58
secondary
#42B16B
accent
#E97F3F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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