#7D1A5A#7D1A5A

#7D1A5A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.148 H 346.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7D1A5A
RGBrgb(125, 26, 90)
HSLhsl(321, 66%, 30%)
HSVhsv(321, 79%, 49%)
CMYKcmyk(0%, 79.2%, 28%, 51%)
CIE-LABlab(29.00, 47.26, -13.35)
CIE-LCHlch(29.00, 49.11, 344.22°)
OKLaboklab(40.76% 0.1436 -0.0354)
OKLCHoklch(40.76% 0.148 346.2)
XYZxyz(10.6728, 5.8381, 10.2357)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A5A #1A7D3D
analogous
#6F1A7D #7D1A5A #7D1A29
triadic
#7D1A5A #5A7D1A #1A5A7D
tetradic
#7D1A5A #7D6F1A #1A7D3D #1A297D
square
#7D1A5A #7D6F1A #1A7D3D #1A297D
split-complementary
#7D1A5A #297D1A #1A7D6F
monochromatic
#190512 #4A0F36 #7D1A5A #B0257E #D63B9F

Accessibility & contrast

On white

9.69
#7D1A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A5A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A5A#FFFFFF#000000##FFFFFF
##7D1A5A1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5C
Deuteranopia (green-blind)
#464A58
Tritanopia (blue-blind)
#861738
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1a5a;
/* rgb */ color: rgb(125, 26, 90);
/* oklch */ color: oklch(40.8% 0.148 346.2);
Tailwind
colors: {
  custom: {
    50: '#a66288',
    500: '#7d1a5a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a5a;
$custom-light: #a66288;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a5a",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 321.212,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40755,
    "c": 0.1479,
    "h": 346.2
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#7D1A5A
secondary
#42B169
accent
#E97B3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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