#7E196A#7E196A

#7E196A is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.160 H 337.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7E196A
RGBrgb(126, 25, 106)
HSLhsl(312, 67%, 30%)
HSVhsv(312, 80%, 49%)
CMYKcmyk(0%, 80.2%, 15.9%, 50.6%)
CIE-LABlab(29.84, 50.08, -22.42)
CIE-LCHlch(29.84, 54.87, 335.88°)
OKLaboklab(41.65% 0.1481 -0.061)
OKLCHoklch(41.65% 0.16 337.6)
XYZxyz(11.5536, 6.1726, 14.2158)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E196A #197E2D
analogous
#60197E #7E196A #7E1938
triadic
#7E196A #6A7E19 #196A7E
tetradic
#7E196A #7E6019 #197E2D #19387E
square
#7E196A #7E6019 #197E2D #19387E
split-complementary
#7E196A #387E19 #197E60
monochromatic
#1A0515 #4B0F3F #7E196A #B12395 #D83AB8

Accessibility & contrast

On white

9.40
#7E196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E196A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E196A#FFFFFF#000000##FFFFFF
##7E196A1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6C
Deuteranopia (green-blind)
#414C68
Tritanopia (blue-blind)
#851F40
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e196a;
/* rgb */ color: rgb(126, 25, 106);
/* oklch */ color: oklch(41.6% 0.160 337.6);
Tailwind
colors: {
  custom: {
    50: '#a76295',
    500: '#7e196a',
    950: '#000000',
  },
}
SCSS
$custom: #7e196a;
$custom-light: #a76295;
$custom-dark: #000000;
JSON
{
  "hex": "#7e196a",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 311.881,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41649,
    "c": 0.16016,
    "h": 337.6
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E196A

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

Preview Lab → · Contrast checker → · Palette generator →

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