#7F1064#7F1064

#7F1064 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.165 H 340.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7F1064
RGBrgb(127, 16, 100)
HSLhsl(315, 78%, 28%)
HSVhsv(315, 87%, 50%)
CMYKcmyk(0%, 87.4%, 21.3%, 50.2%)
CIE-LABlab(28.91, 51.82, -19.98)
CIE-LCHlch(28.91, 55.54, 338.91°)
OKLaboklab(40.92% 0.1556 -0.0539)
OKLCHoklch(40.92% 0.165 340.9)
XYZxyz(11.2383, 5.8039, 12.5825)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1064 #107F2B
analogous
#62107F #7F1064 #7F102C
triadic
#7F1064 #647F10 #10647F
tetradic
#7F1064 #7F6210 #107F2B #102C7F
square
#7F1064 #7F6210 #107F2B #102C7F
split-complementary
#7F1064 #2C7F10 #107F62
monochromatic
#1B0315 #490939 #7F1064 #B5178F #E426B5

Accessibility & contrast

On white

9.72
#7F1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1064
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1064#FFFFFF#000000##FFFFFF
##7F10641.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3966
Deuteranopia (green-blind)
#414A62
Tritanopia (blue-blind)
#87143B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1064;
/* rgb */ color: rgb(127, 16, 100);
/* oklch */ color: oklch(40.9% 0.165 340.9);
Tailwind
colors: {
  custom: {
    50: '#a85f90',
    500: '#7f1064',
    950: '#000000',
  },
}
SCSS
$custom: #7f1064;
$custom-light: #a85f90;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1064",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 314.595,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40916,
    "c": 0.16467,
    "h": 340.9
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#7F1064
secondary
#36B555
accent
#F46234
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1064

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

Preview Lab → · Contrast checker → · Palette generator →

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