#7F1E63#7F1E63

#7F1E63 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.150 H 342.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7F1E63
RGBrgb(127, 30, 99)
HSLhsl(317, 62%, 31%)
HSVhsv(317, 76%, 50%)
CMYKcmyk(0%, 76.4%, 22%, 50.2%)
CIE-LABlab(30.26, 47.68, -17.24)
CIE-LCHlch(30.26, 50.70, 340.12°)
OKLaboklab(41.87% 0.1432 -0.0463)
OKLCHoklch(41.87% 0.15 342.1)
XYZxyz(11.4692, 6.3426, 12.4222)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E63 #1E7F3A
analogous
#6A1E7F #7F1E63 #7F1E32
triadic
#7F1E63 #637F1E #1E637F
tetradic
#7F1E63 #7F6A1E #1E7F3A #1E327F
square
#7F1E63 #7F6A1E #1E7F3A #1E327F
split-complementary
#7F1E63 #327F1E #1E7F6A
monochromatic
#1C0716 #4D123C #7F1E63 #B12A8A #D344AA

Accessibility & contrast

On white

9.26
#7F1E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F1E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E63
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E63#FFFFFF#000000##FFFFFF
##7F1E631.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D65
Deuteranopia (green-blind)
#464D61
Tritanopia (blue-blind)
#871F3E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1e63;
/* rgb */ color: rgb(127, 30, 99);
/* oklch */ color: oklch(41.9% 0.150 342.1);
Tailwind
colors: {
  custom: {
    50: '#a8648f',
    500: '#7f1e63',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e63;
$custom-light: #a8648f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e63",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 317.32,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.15048,
    "h": 342.1
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#7F1E63
secondary
#47B266
accent
#E57243
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1E63

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

Preview Lab → · Contrast checker → · Palette generator →

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