#7A3159#7A3159

#7A3159 is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.8% C 0.112 H 348.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7A3159
RGBrgb(122, 49, 89)
HSLhsl(327, 43%, 34%)
HSVhsv(327, 60%, 48%)
CMYKcmyk(0%, 59.8%, 27%, 52.2%)
CIE-LABlab(31.94, 36.51, -8.29)
CIE-LCHlch(31.94, 37.44, 347.20°)
OKLaboklab(42.8% 0.1103 -0.0217)
OKLCHoklch(42.8% 0.112 348.9)
XYZxyz(10.9279, 7.0565, 10.2358)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3159 #317A52
analogous
#76317A #7A3159 #7A3134
triadic
#7A3159 #597A31 #31597A
tetradic
#7A3159 #7A7631 #317A52 #31347A
square
#7A3159 #7A7631 #317A52 #31347A
split-complementary
#7A3159 #347A31 #317A76
monochromatic
#230E19 #4E1F39 #7A3159 #A64379 #C16497

Accessibility & contrast

On white

8.71
#7A3159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7A3159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3159
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3159#FFFFFF#000000##FFFFFF
##7A31591.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39435A
Deuteranopia (green-blind)
#4D5057
Tritanopia (blue-blind)
#822F41
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a3159;
/* rgb */ color: rgb(122, 49, 89);
/* oklch */ color: oklch(42.8% 0.112 348.9);
Tailwind
colors: {
  custom: {
    50: '#a36d87',
    500: '#7a3159',
    950: '#000000',
  },
}
SCSS
$custom: #7a3159;
$custom-light: #a36d87;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3159",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 327.123,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42795,
    "c": 0.1124,
    "h": 348.9
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#7A3159
secondary
#5EA880
accent
#D28E55
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#0F070B
muted
#7F7A7C

Preview Lab

Preview with #7A3159

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

Preview Lab → · Contrast checker → · Palette generator →

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