#7A2159#7A2159

#7A2159 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.137 H 346.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7A2159
RGBrgb(122, 33, 89)
HSLhsl(322, 57%, 30%)
HSVhsv(322, 73%, 48%)
CMYKcmyk(0%, 73%, 27%, 52.2%)
CIE-LABlab(29.28, 43.77, -12.32)
CIE-LCHlch(29.28, 45.47, 344.28°)
OKLaboklab(40.84% 0.1326 -0.0326)
OKLCHoklch(40.84% 0.137 346.2)
XYZxyz(10.3735, 5.9477, 10.0510)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2159 #217A42
analogous
#6E217A #7A2159 #7A212D
triadic
#7A2159 #597A21 #21597A
tetradic
#7A2159 #7A6E21 #217A42 #212D7A
square
#7A2159 #7A6E21 #217A42 #212D7A
split-complementary
#7A2159 #2D7A21 #217A6E
monochromatic
#1A0713 #4A1436 #7A2159 #AA2E7C #CD489C

Accessibility & contrast

On white

9.59
#7A2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2159
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2159#FFFFFF#000000##FFFFFF
##7A21591.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5B
Deuteranopia (green-blind)
#464B57
Tritanopia (blue-blind)
#831F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2159;
/* rgb */ color: rgb(122, 33, 89);
/* oklch */ color: oklch(40.8% 0.137 346.2);
Tailwind
colors: {
  custom: {
    50: '#a46488',
    500: '#7a2159',
    950: '#000000',
  },
}
SCSS
$custom: #7a2159;
$custom-light: #a46488;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2159",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 322.247,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40839,
    "c": 0.13657,
    "h": 346.2
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#7A2159
secondary
#4AAD6F
accent
#E18047
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A2159

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

Preview Lab → · Contrast checker → · Palette generator →

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