#7A3166#7A3166

#7A3166 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.4% C 0.122 H 339.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7A3166
RGBrgb(122, 49, 102)
HSLhsl(316, 43%, 34%)
HSVhsv(316, 60%, 48%)
CMYKcmyk(0%, 59.8%, 16.4%, 52.2%)
CIE-LABlab(32.47, 38.55, -15.84)
CIE-LCHlch(32.47, 41.68, 337.66°)
OKLaboklab(43.36% 0.1138 -0.0426)
OKLCHoklch(43.36% 0.122 339.5)
XYZxyz(11.5228, 7.2944, 13.3689)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3166 #317A45
analogous
#69317A #7A3166 #7A3141
triadic
#7A3166 #667A31 #31667A
tetradic
#7A3166 #7A6931 #317A45 #31417A
square
#7A3166 #7A6931 #317A45 #31417A
split-complementary
#7A3166 #417A31 #317A69
monochromatic
#230E1D #4E1F41 #7A3166 #A6438B #C164A8

Accessibility & contrast

On white

8.54
#7A3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3166
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3166#FFFFFF#000000##FFFFFF
##7A31661.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344568
Deuteranopia (green-blind)
#4A5164
Tritanopia (blue-blind)
#813347
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a3166;
/* rgb */ color: rgb(122, 49, 102);
/* oklch */ color: oklch(43.4% 0.122 339.5);
Tailwind
colors: {
  custom: {
    50: '#a36d91',
    500: '#7a3166',
    950: '#000000',
  },
}
SCSS
$custom: #7a3166;
$custom-light: #a36d91;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3166",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 316.438,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43365,
    "c": 0.12152,
    "h": 339.5
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#7A3166
secondary
#5EA873
accent
#D27855
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070D
muted
#7F7A7D

Preview Lab

Preview with #7A3166

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

Preview Lab → · Contrast checker → · Palette generator →

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