#7D1F50#7D1F50

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

Color values

HEX#7D1F50
RGBrgb(125, 31, 80)
HSLhsl(329, 60%, 31%)
HSVhsv(329, 75%, 49%)
CMYKcmyk(0%, 75.2%, 36%, 51%)
CIE-LABlab(29.21, 44.24, -6.45)
CIE-LCHlch(29.21, 44.71, 351.70°)
OKLaboklab(40.78% 0.1355 -0.0165)
OKLCHoklch(40.78% 0.137 353)
XYZxyz(10.3960, 5.9204, 8.1831)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F50 #1F7D4C
analogous
#7B1F7D #7D1F50 #7D1F21
triadic
#7D1F50 #507D1F #1F507D
tetradic
#7D1F50 #7D7B1F #1F7D4C #1F217D
square
#7D1F50 #7D7B1F #1F7D4C #1F217D
split-complementary
#7D1F50 #217D1F #1F7D7B
monochromatic
#1B0711 #4C1331 #7D1F50 #AE2B6F #D1458E

Accessibility & contrast

On white

9.62
#7D1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D1F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F50
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F50#FFFFFF#000000##FFFFFF
##7D1F501.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A51
Deuteranopia (green-blind)
#4A4B4E
Tritanopia (blue-blind)
#871734
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1f50;
/* rgb */ color: rgb(125, 31, 80);
/* oklch */ color: oklch(40.8% 0.137 353.0);
Tailwind
colors: {
  custom: {
    50: '#a76481',
    500: '#7d1f50',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f50;
$custom-light: #a76481;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f50",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 328.723,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.13655,
    "h": 353
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#7D1F50
secondary
#48B07A
accent
#E39144
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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