#7F1964#7F1964

#7F1964 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.157 H 341.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7F1964
RGBrgb(127, 25, 100)
HSLhsl(316, 67%, 30%)
HSVhsv(316, 80%, 50%)
CMYKcmyk(0%, 80.3%, 21.3%, 50.2%)
CIE-LABlab(29.73, 49.45, -18.70)
CIE-LCHlch(29.73, 52.87, 339.28°)
OKLaboklab(41.51% 0.1483 -0.0504)
OKLCHoklch(41.51% 0.157 341.2)
XYZxyz(11.4007, 6.1286, 12.6366)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1964 #197F34
analogous
#67197F #7F1964 #7F1931
triadic
#7F1964 #647F19 #19647F
tetradic
#7F1964 #7F6719 #197F34 #19317F
square
#7F1964 #7F6719 #197F34 #19317F
split-complementary
#7F1964 #317F19 #197F67
monochromatic
#1A0514 #4C0F3C #7F1964 #B2238C #D83AAE

Accessibility & contrast

On white

9.44
#7F1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1964
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1964#FFFFFF#000000##FFFFFF
##7F19641.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233C66
Deuteranopia (green-blind)
#444C62
Tritanopia (blue-blind)
#871B3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1964;
/* rgb */ color: rgb(127, 25, 100);
/* oklch */ color: oklch(41.5% 0.157 341.2);
Tailwind
colors: {
  custom: {
    50: '#a86290',
    500: '#7f1964',
    950: '#000000',
  },
}
SCSS
$custom: #7f1964;
$custom-light: #a86290;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1964",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 315.882,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.15666,
    "h": 341.2
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#7F1964
secondary
#41B35F
accent
#EA6B3E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1964

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

Preview Lab → · Contrast checker → · Palette generator →

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