#7D1E5A#7D1E5A

#7D1E5A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.143 H 346.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7D1E5A
RGBrgb(125, 30, 90)
HSLhsl(322, 61%, 30%)
HSVhsv(322, 76%, 49%)
CMYKcmyk(0%, 76%, 28%, 51%)
CIE-LABlab(29.48, 45.89, -12.61)
CIE-LCHlch(29.48, 47.59, 344.63°)
OKLaboklab(41.11% 0.1394 -0.0334)
OKLCHoklch(41.11% 0.143 346.5)
XYZxyz(10.7677, 6.0279, 10.2673)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E5A #1E7D41
analogous
#701E7D #7D1E5A #7D1E2B
triadic
#7D1E5A #5A7D1E #1E5A7D
tetradic
#7D1E5A #7D701E #1E7D41 #1E2B7D
square
#7D1E5A #7D701E #1E7D41 #1E2B7D
split-complementary
#7D1E5A #2B7D1E #1E7D70
monochromatic
#1A0613 #4C1236 #7D1E5A #AE2A7E #D2439D

Accessibility & contrast

On white

9.52
#7D1E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D1E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E5A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E5A#FFFFFF#000000##FFFFFF
##7D1E5A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5C
Deuteranopia (green-blind)
#474B58
Tritanopia (blue-blind)
#861B39
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1e5a;
/* rgb */ color: rgb(125, 30, 90);
/* oklch */ color: oklch(41.1% 0.143 346.5);
Tailwind
colors: {
  custom: {
    50: '#a66488',
    500: '#7d1e5a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e5a;
$custom-light: #a66488;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e5a",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 322.105,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41106,
    "c": 0.1433,
    "h": 346.5
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#7D1E5A
secondary
#46B06D
accent
#E47F43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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