#7F196E#7F196E

#7F196E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 42.0% C 0.164 H 336.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7F196E
RGBrgb(127, 25, 110)
HSLhsl(310, 67%, 30%)
HSVhsv(310, 80%, 50%)
CMYKcmyk(0%, 80.3%, 13.4%, 50.2%)
CIE-LABlab(30.24, 50.92, -24.35)
CIE-LCHlch(30.24, 56.45, 334.44°)
OKLaboklab(42.04% 0.1495 -0.0665)
OKLCHoklch(42.04% 0.164 336)
XYZxyz(11.9147, 6.3342, 15.3439)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F196E #197F2A
analogous
#5D197F #7F196E #7F193B
triadic
#7F196E #6E7F19 #196E7F
tetradic
#7F196E #7F5D19 #197F2A #193B7F
square
#7F196E #7F5D19 #197F2A #193B7F
split-complementary
#7F196E #3B7F19 #197F5D
monochromatic
#1A0516 #4C0F42 #7F196E #B2239A #D83ABE

Accessibility & contrast

On white

9.26
#7F196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F196E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F196E#FFFFFF#000000##FFFFFF
##7F196E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E70
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#862142
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f196e;
/* rgb */ color: rgb(127, 25, 110);
/* oklch */ color: oklch(42.0% 0.164 336.0);
Tailwind
colors: {
  custom: {
    50: '#a86398',
    500: '#7f196e',
    950: '#000000',
  },
}
SCSS
$custom: #7f196e;
$custom-light: #a86398;
$custom-dark: #000000;
JSON
{
  "hex": "#7f196e",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 310,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.1636,
    "h": 336
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#7F196E
secondary
#41B354
accent
#EA5A3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F196E

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

Preview Lab → · Contrast checker → · Palette generator →

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