#7D1A5C#7D1A5C

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

Color values

HEX#7D1A5C
RGBrgb(125, 26, 92)
HSLhsl(320, 66%, 30%)
HSVhsv(320, 79%, 49%)
CMYKcmyk(0%, 79.2%, 26.4%, 51%)
CIE-LABlab(29.09, 47.52, -14.53)
CIE-LCHlch(29.09, 49.69, 343.00°)
OKLaboklab(40.85% 0.144 -0.0387)
OKLCHoklch(40.85% 0.149 345)
XYZxyz(10.7591, 5.8726, 10.6901)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A5C #1A7D3B
analogous
#6D1A7D #7D1A5C #7D1A2B
triadic
#7D1A5C #5C7D1A #1A5C7D
tetradic
#7D1A5C #7D6D1A #1A7D3B #1A2B7D
square
#7D1A5C #7D6D1A #1A7D3B #1A2B7D
split-complementary
#7D1A5C #2B7D1A #1A7D6D
monochromatic
#190513 #4A0F37 #7D1A5C #B02581 #D63BA3

Accessibility & contrast

On white

9.66
#7D1A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D1A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A5C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A5C#FFFFFF#000000##FFFFFF
##7D1A5C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5E
Deuteranopia (green-blind)
#454B5A
Tritanopia (blue-blind)
#861839
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1a5c;
/* rgb */ color: rgb(125, 26, 92);
/* oklch */ color: oklch(40.8% 0.149 345.0);
Tailwind
colors: {
  custom: {
    50: '#a6628a',
    500: '#7d1a5c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a5c;
$custom-light: #a6628a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a5c",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 320,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40849,
    "c": 0.14912,
    "h": 345
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#7D1A5C
secondary
#42B167
accent
#E9783F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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