#7F196A#7F196A

#7F196A is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.8% C 0.161 H 338.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7F196A
RGBrgb(127, 25, 106)
HSLhsl(312, 67%, 30%)
HSVhsv(312, 80%, 50%)
CMYKcmyk(0%, 80.3%, 16.5%, 50.2%)
CIE-LABlab(30.03, 50.32, -22.11)
CIE-LCHlch(30.03, 54.97, 336.28°)
OKLaboklab(41.82% 0.1491 -0.0601)
OKLCHoklch(41.82% 0.161 338.1)
XYZxyz(11.7018, 6.2490, 14.2228)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F196A #197F2E
analogous
#61197F #7F196A #7F1937
triadic
#7F196A #6A7F19 #196A7F
tetradic
#7F196A #7F6119 #197F2E #19377F
square
#7F196A #7F6119 #197F2E #19377F
split-complementary
#7F196A #377F19 #197F61
monochromatic
#1A0515 #4C0F3F #7F196A #B22395 #D83AB8

Accessibility & contrast

On white

9.33
#7F196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F196A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F196A#FFFFFF#000000##FFFFFF
##7F196A1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6C
Deuteranopia (green-blind)
#414C68
Tritanopia (blue-blind)
#861F40
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f196a;
/* rgb */ color: rgb(127, 25, 106);
/* oklch */ color: oklch(41.8% 0.161 338.1);
Tailwind
colors: {
  custom: {
    50: '#a86395',
    500: '#7f196a',
    950: '#000000',
  },
}
SCSS
$custom: #7f196a;
$custom-light: #a86395;
$custom-dark: #000000;
JSON
{
  "hex": "#7f196a",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 312.353,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.16075,
    "h": 338.1
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#7F196A
secondary
#41B358
accent
#EA613E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F196A

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

Preview Lab → · Contrast checker → · Palette generator →

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