#7F146B#7F146B

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

Color values

HEX#7F146B
RGBrgb(127, 20, 107)
HSLhsl(311, 73%, 29%)
HSVhsv(311, 84%, 50%)
CMYKcmyk(0%, 84.3%, 15.7%, 50.2%)
CIE-LABlab(29.60, 51.86, -23.43)
CIE-LCHlch(29.60, 56.91, 335.69°)
OKLaboklab(41.53% 0.1534 -0.0638)
OKLCHoklch(41.53% 0.166 337.4)
XYZxyz(11.6567, 6.0750, 14.4658)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F146B #147F28
analogous
#5E147F #7F146B #7F1436
triadic
#7F146B #6B7F14 #146B7F
tetradic
#7F146B #7F5E14 #147F28 #14367F
square
#7F146B #7F5E14 #147F28 #14367F
split-complementary
#7F146B #367F14 #147F5E
monochromatic
#1A0416 #4A0C3E #7F146B #B41C98 #DE2FBE

Accessibility & contrast

On white

9.48
#7F146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F146B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F146B#FFFFFF#000000##FFFFFF
##7F146B1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6D
Deuteranopia (green-blind)
#3F4B69
Tritanopia (blue-blind)
#861C40
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f146b;
/* rgb */ color: rgb(127, 20, 107);
/* oklch */ color: oklch(41.5% 0.166 337.4);
Tailwind
colors: {
  custom: {
    50: '#a86195',
    500: '#7f146b',
    950: '#000000',
  },
}
SCSS
$custom: #7f146b;
$custom-light: #a86195;
$custom-dark: #000000;
JSON
{
  "hex": "#7f146b",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 311.215,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41527,
    "c": 0.16613,
    "h": 337.4
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#7F146B
secondary
#3BB451
accent
#EF5B38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F146B

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

Preview Lab → · Contrast checker → · Palette generator →

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