#7E196D#7E196D

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

Color values

HEX#7E196D
RGBrgb(126, 25, 109)
HSLhsl(310, 67%, 30%)
HSVhsv(310, 80%, 49%)
CMYKcmyk(0%, 80.2%, 13.5%, 50.6%)
CIE-LABlab(30.00, 50.53, -24.10)
CIE-LCHlch(30.00, 55.99, 334.50°)
OKLaboklab(41.81% 0.1484 -0.0658)
OKLCHoklch(41.81% 0.162 336.1)
XYZxyz(11.7123, 6.2361, 15.0519)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E196D #197E2A
analogous
#5D197E #7E196D #7E193B
triadic
#7E196D #6D7E19 #196D7E
tetradic
#7E196D #7E5D19 #197E2A #193B7E
square
#7E196D #7E5D19 #197E2A #193B7E
split-complementary
#7E196D #3B7E19 #197E5D
monochromatic
#1A0516 #4B0F41 #7E196D #B12399 #D83ABD

Accessibility & contrast

On white

9.35
#7E196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E196D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E196D#FFFFFF#000000##FFFFFF
##7E196D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6F
Deuteranopia (green-blind)
#3F4C6B
Tritanopia (blue-blind)
#852142
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e196d;
/* rgb */ color: rgb(126, 25, 109);
/* oklch */ color: oklch(41.8% 0.162 336.1);
Tailwind
colors: {
  custom: {
    50: '#a76397',
    500: '#7e196d',
    950: '#000000',
  },
}
SCSS
$custom: #7e196d;
$custom-light: #a76397;
$custom-dark: #000000;
JSON
{
  "hex": "#7e196d",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 310.099,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41813,
    "c": 0.1623,
    "h": 336.1
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#7E196D
secondary
#41B254
accent
#EA5B3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E196D

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

Preview Lab → · Contrast checker → · Palette generator →

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