#7A2156#7A2156

#7A2156 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.135 H 348.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7A2156
RGBrgb(122, 33, 86)
HSLhsl(324, 57%, 30%)
HSVhsv(324, 73%, 48%)
CMYKcmyk(0%, 73%, 29.5%, 52.2%)
CIE-LABlab(29.15, 43.36, -10.54)
CIE-LCHlch(29.15, 44.63, 346.33°)
OKLaboklab(40.71% 0.1319 -0.0277)
OKLCHoklch(40.71% 0.135 348.1)
XYZxyz(10.2501, 5.8983, 9.4010)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2156 #217A45
analogous
#71217A #7A2156 #7A2129
triadic
#7A2156 #567A21 #21567A
tetradic
#7A2156 #7A7121 #217A45 #21297A
square
#7A2156 #7A7121 #217A45 #21297A
split-complementary
#7A2156 #297A21 #217A71
monochromatic
#1A0712 #4A1434 #7A2156 #AA2E78 #CD4897

Accessibility & contrast

On white

9.64
#7A2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2156
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2156#FFFFFF#000000##FFFFFF
##7A21561.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B57
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#831D38
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2156;
/* rgb */ color: rgb(122, 33, 86);
/* oklch */ color: oklch(40.7% 0.135 348.1);
Tailwind
colors: {
  custom: {
    50: '#a46485',
    500: '#7a2156',
    950: '#000000',
  },
}
SCSS
$custom: #7a2156;
$custom-light: #a46485;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2156",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 324.27,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.13475,
    "h": 348.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#7A2156
secondary
#4AAD72
accent
#E18547
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A2156

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

Preview Lab → · Contrast checker → · Palette generator →

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