#7F196C#7F196C

#7F196C is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.162 H 337.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7F196C
RGBrgb(127, 25, 108)
HSLhsl(311, 67%, 30%)
HSVhsv(311, 80%, 50%)
CMYKcmyk(0%, 80.3%, 15%, 50.2%)
CIE-LABlab(30.14, 50.62, -23.24)
CIE-LCHlch(30.14, 55.70, 335.34°)
OKLaboklab(41.93% 0.1493 -0.0633)
OKLCHoklch(41.93% 0.162 337)
XYZxyz(11.8070, 6.2911, 14.7769)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F196C #197F2C
analogous
#5F197F #7F196C #7F1939
triadic
#7F196C #6C7F19 #196C7F
tetradic
#7F196C #7F5F19 #197F2C #19397F
square
#7F196C #7F5F19 #197F2C #19397F
split-complementary
#7F196C #397F19 #197F5F
monochromatic
#1A0516 #4C0F41 #7F196C #B22397 #D83ABB

Accessibility & contrast

On white

9.30
#7F196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F196C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F196C#FFFFFF#000000##FFFFFF
##7F196C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#414C6A
Tritanopia (blue-blind)
#862041
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f196c;
/* rgb */ color: rgb(127, 25, 108);
/* oklch */ color: oklch(41.9% 0.162 337.0);
Tailwind
colors: {
  custom: {
    50: '#a86396',
    500: '#7f196c',
    950: '#000000',
  },
}
SCSS
$custom: #7f196c;
$custom-light: #a86396;
$custom-dark: #000000;
JSON
{
  "hex": "#7f196c",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 311.176,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41928,
    "c": 0.16216,
    "h": 337
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#7F196C
secondary
#41B356
accent
#EA5E3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F196C

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

Preview Lab → · Contrast checker → · Palette generator →

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