#7D1F63#7D1F63

#7D1F63 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.148 H 341.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7D1F63
RGBrgb(125, 31, 99)
HSLhsl(317, 60%, 31%)
HSVhsv(317, 75%, 49%)
CMYKcmyk(0%, 75.2%, 20.8%, 51%)
CIE-LABlab(30.01, 46.79, -17.65)
CIE-LCHlch(30.01, 50.01, 339.33°)
OKLaboklab(41.63% 0.1401 -0.0475)
OKLCHoklch(41.63% 0.148 341.3)
XYZxyz(11.1999, 6.2419, 12.4169)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F63 #1F7D39
analogous
#681F7D #7D1F63 #7D1F34
triadic
#7D1F63 #637D1F #1F637D
tetradic
#7D1F63 #7D681F #1F7D39 #1F347D
square
#7D1F63 #7D681F #1F7D39 #1F347D
split-complementary
#7D1F63 #347D1F #1F7D68
monochromatic
#1B0715 #4C133C #7D1F63 #AE2B8A #D145AA

Accessibility & contrast

On white

9.34
#7D1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D1F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F63
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F63#FFFFFF#000000##FFFFFF
##7D1F631.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D65
Deuteranopia (green-blind)
#454C61
Tritanopia (blue-blind)
#85213E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1f63;
/* rgb */ color: rgb(125, 31, 99);
/* oklch */ color: oklch(41.6% 0.148 341.3);
Tailwind
colors: {
  custom: {
    50: '#a6648f',
    500: '#7d1f63',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f63;
$custom-light: #a6648f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f63",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 316.596,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.1479,
    "h": 341.3
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#7D1F63
secondary
#48B065
accent
#E37044
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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