#7D1E5B#7D1E5B

#7D1E5B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.144 H 345.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7D1E5B
RGBrgb(125, 30, 91)
HSLhsl(321, 61%, 30%)
HSVhsv(321, 76%, 49%)
CMYKcmyk(0%, 76%, 27.2%, 51%)
CIE-LABlab(29.53, 46.02, -13.20)
CIE-LCHlch(29.53, 47.88, 343.99°)
OKLaboklab(41.15% 0.1396 -0.035)
OKLCHoklch(41.15% 0.144 345.9)
XYZxyz(10.8105, 6.0450, 10.4930)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E5B #1E7D40
analogous
#6F1E7D #7D1E5B #7D1E2B
triadic
#7D1E5B #5B7D1E #1E5B7D
tetradic
#7D1E5B #7D6F1E #1E7D40 #1E2B7D
square
#7D1E5B #7D6F1E #1E7D40 #1E2B7D
split-complementary
#7D1E5B #2B7D1E #1E7D6F
monochromatic
#1A0613 #4C1237 #7D1E5B #AE2A7F #D2439F

Accessibility & contrast

On white

9.51
#7D1E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E5B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E5B#FFFFFF#000000##FFFFFF
##7D1E5B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5D
Deuteranopia (green-blind)
#474B59
Tritanopia (blue-blind)
#861C3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1e5b;
/* rgb */ color: rgb(125, 30, 91);
/* oklch */ color: oklch(41.2% 0.144 345.9);
Tailwind
colors: {
  custom: {
    50: '#a66489',
    500: '#7d1e5b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e5b;
$custom-light: #a66489;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e5b",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 321.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41152,
    "c": 0.14391,
    "h": 345.9
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#7D1E5B
secondary
#46B06C
accent
#E47D43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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