#7F1D52#7F1D52

#7F1D52 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.142 H 352.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7F1D52
RGBrgb(127, 29, 82)
HSLhsl(328, 63%, 31%)
HSVhsv(328, 77%, 50%)
CMYKcmyk(0%, 77.2%, 35.4%, 50.2%)
CIE-LABlab(29.42, 45.79, -7.43)
CIE-LCHlch(29.42, 46.38, 350.79°)
OKLaboklab(41.02% 0.1403 -0.0191)
OKLCHoklch(41.02% 0.142 352.2)
XYZxyz(10.7154, 6.0012, 8.5751)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D52 #1D7F4A
analogous
#7B1D7F #7F1D52 #7F1D21
triadic
#7F1D52 #527F1D #1D527F
tetradic
#7F1D52 #7F7B1D #1D7F4A #1D217F
square
#7F1D52 #7F7B1D #1D7F4A #1D217F
split-complementary
#7F1D52 #217F1D #1D7F7B
monochromatic
#1B0612 #4D1232 #7F1D52 #B12872 #D44291

Accessibility & contrast

On white

9.55
#7F1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D52
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D52#FFFFFF#000000##FFFFFF
##7F1D521.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1d52;
/* rgb */ color: rgb(127, 29, 82);
/* oklch */ color: oklch(41.0% 0.142 352.2);
Tailwind
colors: {
  custom: {
    50: '#a86382',
    500: '#7f1d52',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d52;
$custom-light: #a86382;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d52",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 327.551,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41022,
    "c": 0.1416,
    "h": 352.2
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#7F1D52
secondary
#45B277
accent
#E68D42
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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