#7F1D63#7F1D63

#7F1D63 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.152 H 342.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7F1D63
RGBrgb(127, 29, 99)
HSLhsl(317, 63%, 31%)
HSVhsv(317, 77%, 50%)
CMYKcmyk(0%, 77.2%, 22%, 50.2%)
CIE-LABlab(30.14, 48.02, -17.43)
CIE-LCHlch(30.14, 51.09, 340.05°)
OKLaboklab(41.79% 0.1442 -0.0468)
OKLCHoklch(41.79% 0.152 342)
XYZxyz(11.4443, 6.2928, 12.4139)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D63 #1D7F39
analogous
#6A1D7F #7F1D63 #7F1D32
triadic
#7F1D63 #637F1D #1D637F
tetradic
#7F1D63 #7F6A1D #1D7F39 #1D327F
square
#7F1D63 #7F6A1D #1D7F39 #1D327F
split-complementary
#7F1D63 #327F1D #1D7F6A
monochromatic
#1B0615 #4D123C #7F1D63 #B1288A #D442AA

Accessibility & contrast

On white

9.30
#7F1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F1D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D63
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D63#FFFFFF#000000##FFFFFF
##7F1D631.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263D65
Deuteranopia (green-blind)
#454D61
Tritanopia (blue-blind)
#871E3E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1d63;
/* rgb */ color: rgb(127, 29, 99);
/* oklch */ color: oklch(41.8% 0.152 342.0);
Tailwind
colors: {
  custom: {
    50: '#a8648f',
    500: '#7f1d63',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d63;
$custom-light: #a8648f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d63",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 317.143,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41786,
    "c": 0.15165,
    "h": 342
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#7F1D63
secondary
#45B265
accent
#E67142
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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