#7D1F52#7D1F52

#7D1F52 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.138 H 351.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7D1F52
RGBrgb(125, 31, 82)
HSLhsl(327, 60%, 31%)
HSVhsv(327, 75%, 49%)
CMYKcmyk(0%, 75.2%, 34.4%, 51%)
CIE-LABlab(29.29, 44.49, -7.66)
CIE-LCHlch(29.29, 45.14, 350.23°)
OKLaboklab(40.86% 0.1361 -0.0198)
OKLCHoklch(40.86% 0.138 351.7)
XYZxyz(10.4710, 5.9504, 8.5781)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F52 #1F7D4A
analogous
#791F7D #7D1F52 #7D1F23
triadic
#7D1F52 #527D1F #1F527D
tetradic
#7D1F52 #7D791F #1F7D4A #1F237D
square
#7D1F52 #7D791F #1F7D4A #1F237D
split-complementary
#7D1F52 #237D1F #1F7D79
monochromatic
#1B0712 #4C1332 #7D1F52 #AE2B72 #D14591

Accessibility & contrast

On white

9.59
#7D1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F52
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F52#FFFFFF#000000##FFFFFF
##7D1F521.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#871835
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1f52;
/* rgb */ color: rgb(125, 31, 82);
/* oklch */ color: oklch(40.9% 0.138 351.7);
Tailwind
colors: {
  custom: {
    50: '#a66482',
    500: '#7d1f52',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f52;
$custom-light: #a66482;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f52",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 327.447,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.13756,
    "h": 351.7
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#7D1F52
secondary
#48B077
accent
#E38D44
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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