#7F196B#7F196B

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

Color values

HEX#7F196B
RGBrgb(127, 25, 107)
HSLhsl(312, 67%, 30%)
HSVhsv(312, 80%, 50%)
CMYKcmyk(0%, 80.3%, 15.7%, 50.2%)
CIE-LABlab(30.08, 50.47, -22.67)
CIE-LCHlch(30.08, 55.33, 335.81°)
OKLaboklab(41.87% 0.1492 -0.0617)
OKLCHoklch(41.87% 0.161 337.5)
XYZxyz(11.7541, 6.2700, 14.4983)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F196B #197F2D
analogous
#60197F #7F196B #7F1938
triadic
#7F196B #6B7F19 #196B7F
tetradic
#7F196B #7F6019 #197F2D #19387F
square
#7F196B #7F6019 #197F2D #19387F
split-complementary
#7F196B #387F19 #197F60
monochromatic
#1A0516 #4C0F40 #7F196B #B22396 #D83AB9

Accessibility & contrast

On white

9.32
#7F196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F196B
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F196B#FFFFFF#000000##FFFFFF
##7F196B1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f196b;
/* rgb */ color: rgb(127, 25, 107);
/* oklch */ color: oklch(41.9% 0.161 337.5);
Tailwind
colors: {
  custom: {
    50: '#a86395',
    500: '#7f196b',
    950: '#000000',
  },
}
SCSS
$custom: #7f196b;
$custom-light: #a86395;
$custom-dark: #000000;
JSON
{
  "hex": "#7f196b",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 311.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41873,
    "c": 0.16146,
    "h": 337.5
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#7F196B
secondary
#41B357
accent
#EA603E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F196B

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

Preview Lab → · Contrast checker → · Palette generator →

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