#7F146D#7F146D

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

Color values

HEX#7F146D
RGBrgb(127, 20, 109)
HSLhsl(310, 73%, 29%)
HSVhsv(310, 84%, 50%)
CMYKcmyk(0%, 84.3%, 14.2%, 50.2%)
CIE-LABlab(29.71, 52.16, -24.55)
CIE-LCHlch(29.71, 57.65, 334.80°)
OKLaboklab(41.64% 0.1535 -0.067)
OKLCHoklch(41.64% 0.168 336.4)
XYZxyz(11.7631, 6.1176, 15.0263)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F146D #147F26
analogous
#5C147F #7F146D #7F1438
triadic
#7F146D #6D7F14 #146D7F
tetradic
#7F146D #7F5C14 #147F26 #14387F
square
#7F146D #7F5C14 #147F26 #14387F
split-complementary
#7F146D #387F14 #147F5C
monochromatic
#1A0417 #4A0C40 #7F146D #B41C9A #DE2FC1

Accessibility & contrast

On white

9.45
#7F146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F146D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F146D#FFFFFF#000000##FFFFFF
##7F146D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C6F
Deuteranopia (green-blind)
#3F4C6B
Tritanopia (blue-blind)
#861D41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f146d;
/* rgb */ color: rgb(127, 20, 109);
/* oklch */ color: oklch(41.6% 0.168 336.4);
Tailwind
colors: {
  custom: {
    50: '#a86197',
    500: '#7f146d',
    950: '#000000',
  },
}
SCSS
$custom: #7f146d;
$custom-light: #a86197;
$custom-dark: #000000;
JSON
{
  "hex": "#7f146d",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 310.093,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.16752,
    "h": 336.4
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#7F146D
secondary
#3BB44F
accent
#EF5738
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F146D

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

Preview Lab → · Contrast checker → · Palette generator →

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