#7F1068#7F1068

#7F1068 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.167 H 338.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7F1068
RGBrgb(127, 16, 104)
HSLhsl(312, 78%, 28%)
HSVhsv(312, 87%, 50%)
CMYKcmyk(0%, 87.4%, 18.1%, 50.2%)
CIE-LABlab(29.12, 52.38, -22.25)
CIE-LCHlch(29.12, 56.91, 336.98°)
OKLaboklab(41.13% 0.156 -0.0604)
OKLCHoklch(41.13% 0.167 338.8)
XYZxyz(11.4367, 5.8833, 13.6273)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1068 #107F27
analogous
#5E107F #7F1068 #7F1031
triadic
#7F1068 #687F10 #10687F
tetradic
#7F1068 #7F5E10 #107F27 #10317F
square
#7F1068 #7F5E10 #107F27 #10317F
split-complementary
#7F1068 #317F10 #107F5E
monochromatic
#1B0316 #49093B #7F1068 #B51795 #E426BC

Accessibility & contrast

On white

9.65
#7F1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1068
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1068#FFFFFF#000000##FFFFFF
##7F10681.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#87173D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1068;
/* rgb */ color: rgb(127, 16, 104);
/* oklch */ color: oklch(41.1% 0.167 338.8);
Tailwind
colors: {
  custom: {
    50: '#a86093',
    500: '#7f1068',
    950: '#000000',
  },
}
SCSS
$custom: #7f1068;
$custom-light: #a86093;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1068",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 312.432,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41129,
    "c": 0.1673,
    "h": 338.8
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#7F1068
secondary
#36B550
accent
#F45C34
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F1068

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

Preview Lab → · Contrast checker → · Palette generator →

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