#7F146A#7F146A

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

Color values

HEX#7F146A
RGBrgb(127, 20, 106)
HSLhsl(312, 73%, 29%)
HSVhsv(312, 84%, 50%)
CMYKcmyk(0%, 84.3%, 16.5%, 50.2%)
CIE-LABlab(29.55, 51.72, -22.87)
CIE-LCHlch(29.55, 56.55, 336.14°)
OKLaboklab(41.47% 0.1533 -0.0622)
OKLCHoklch(41.47% 0.165 337.9)
XYZxyz(11.6044, 6.0541, 14.1903)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F146A #147F29
analogous
#5F147F #7F146A #7F1435
triadic
#7F146A #6A7F14 #146A7F
tetradic
#7F146A #7F5F14 #147F29 #14357F
square
#7F146A #7F5F14 #147F29 #14357F
split-complementary
#7F146A #357F14 #147F5F
monochromatic
#1A0416 #4A0C3E #7F146A #B41C96 #DE2FBC

Accessibility & contrast

On white

9.50
#7F146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F146A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F146A#FFFFFF#000000##FFFFFF
##7F146A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#404B68
Tritanopia (blue-blind)
#861B3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f146a;
/* rgb */ color: rgb(127, 20, 106);
/* oklch */ color: oklch(41.5% 0.165 337.9);
Tailwind
colors: {
  custom: {
    50: '#a86195',
    500: '#7f146a',
    950: '#000000',
  },
}
SCSS
$custom: #7f146a;
$custom-light: #a86195;
$custom-dark: #000000;
JSON
{
  "hex": "#7f146a",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 311.776,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41472,
    "c": 0.16544,
    "h": 337.9
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#7F146A
secondary
#3BB452
accent
#EF5C38
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F146A

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

Preview Lab → · Contrast checker → · Palette generator →

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