#7F1E64#7F1E64

#7F1E64 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.151 H 341.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7F1E64
RGBrgb(127, 30, 100)
HSLhsl(317, 62%, 31%)
HSVhsv(317, 76%, 50%)
CMYKcmyk(0%, 76.4%, 21.3%, 50.2%)
CIE-LABlab(30.31, 47.82, -17.82)
CIE-LCHlch(30.31, 51.03, 339.57°)
OKLaboklab(41.92% 0.1434 -0.0479)
OKLCHoklch(41.92% 0.151 341.5)
XYZxyz(11.5173, 6.3618, 12.6755)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E64 #1E7F39
analogous
#691E7F #7F1E64 #7F1E33
triadic
#7F1E64 #647F1E #1E647F
tetradic
#7F1E64 #7F691E #1E7F39 #1E337F
square
#7F1E64 #7F691E #1E7F39 #1E337F
split-complementary
#7F1E64 #337F1E #1E7F69
monochromatic
#1C0716 #4D123D #7F1E64 #B12A8B #D344AB

Accessibility & contrast

On white

9.24
#7F1E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1E64
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E64#FFFFFF#000000##FFFFFF
##7F1E641.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D66
Deuteranopia (green-blind)
#454D62
Tritanopia (blue-blind)
#87203E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1e64;
/* rgb */ color: rgb(127, 30, 100);
/* oklch */ color: oklch(41.9% 0.151 341.5);
Tailwind
colors: {
  custom: {
    50: '#a86490',
    500: '#7f1e64',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e64;
$custom-light: #a86490;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e64",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 100
  },
  "hsl": {
    "h": 316.701,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.15115,
    "h": 341.5
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#7F1E64
secondary
#47B265
accent
#E57043
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1E64

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

Preview Lab → · Contrast checker → · Palette generator →

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