#7F146C#7F146C

#7F146C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.6% C 0.167 H 336.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7F146C
RGBrgb(127, 20, 108)
HSLhsl(311, 73%, 29%)
HSVhsv(311, 84%, 50%)
CMYKcmyk(0%, 84.3%, 15%, 50.2%)
CIE-LABlab(29.65, 52.01, -23.99)
CIE-LCHlch(29.65, 57.28, 335.24°)
OKLaboklab(41.58% 0.1535 -0.0654)
OKLCHoklch(41.58% 0.167 336.9)
XYZxyz(11.7096, 6.0962, 14.7444)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F146C #147F27
analogous
#5D147F #7F146C #7F1437
triadic
#7F146C #6C7F14 #146C7F
tetradic
#7F146C #7F5D14 #147F27 #14377F
square
#7F146C #7F5D14 #147F27 #14377F
split-complementary
#7F146C #377F14 #147F5D
monochromatic
#1A0416 #4A0C3F #7F146C #B41C99 #DE2FBF

Accessibility & contrast

On white

9.46
#7F146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F146C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F146C#FFFFFF#000000##FFFFFF
##7F146C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6E
Deuteranopia (green-blind)
#3F4B6A
Tritanopia (blue-blind)
#861D40
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f146c;
/* rgb */ color: rgb(127, 20, 108);
/* oklch */ color: oklch(41.6% 0.167 336.9);
Tailwind
colors: {
  custom: {
    50: '#a86196',
    500: '#7f146c',
    950: '#000000',
  },
}
SCSS
$custom: #7f146c;
$custom-light: #a86196;
$custom-dark: #000000;
JSON
{
  "hex": "#7f146c",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 310.654,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.16682,
    "h": 336.9
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#7F146C
secondary
#3BB450
accent
#EF5938
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F146C

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

Preview Lab → · Contrast checker → · Palette generator →

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