#7F196D#7F196D

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

Color values

HEX#7F196D
RGBrgb(127, 25, 109)
HSLhsl(311, 67%, 30%)
HSVhsv(311, 80%, 50%)
CMYKcmyk(0%, 80.3%, 14.2%, 50.2%)
CIE-LABlab(30.19, 50.77, -23.79)
CIE-LCHlch(30.19, 56.07, 334.89°)
OKLaboklab(41.98% 0.1494 -0.0649)
OKLCHoklch(41.98% 0.163 336.5)
XYZxyz(11.8606, 6.3125, 15.0588)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F196D #197F2B
analogous
#5E197F #7F196D #7F193A
triadic
#7F196D #6D7F19 #196D7F
tetradic
#7F196D #7F5E19 #197F2B #193A7F
square
#7F196D #7F5E19 #197F2B #193A7F
split-complementary
#7F196D #3A7F19 #197F5E
monochromatic
#1A0516 #4C0F41 #7F196D #B22399 #D83ABC

Accessibility & contrast

On white

9.28
#7F196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F196D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F196D#FFFFFF#000000##FFFFFF
##7F196D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f196d;
/* rgb */ color: rgb(127, 25, 109);
/* oklch */ color: oklch(42.0% 0.163 336.5);
Tailwind
colors: {
  custom: {
    50: '#a86397',
    500: '#7f196d',
    950: '#000000',
  },
}
SCSS
$custom: #7f196d;
$custom-light: #a86397;
$custom-dark: #000000;
JSON
{
  "hex": "#7f196d",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 310.588,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.16288,
    "h": 336.5
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#7F196D
secondary
#41B355
accent
#EA5C3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F196D

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

Preview Lab → · Contrast checker → · Palette generator →

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