#7A2160#7A2160

#7A2160 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.141 H 341.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7A2160
RGBrgb(122, 33, 96)
HSLhsl(318, 57%, 30%)
HSVhsv(318, 73%, 48%)
CMYKcmyk(0%, 73%, 21.3%, 52.2%)
CIE-LABlab(29.59, 44.78, -16.41)
CIE-LCHlch(29.59, 47.69, 339.88°)
OKLaboklab(41.17% 0.1341 -0.044)
OKLCHoklch(41.17% 0.141 341.8)
XYZxyz(10.6815, 6.0709, 11.6733)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2160 #217A3B
analogous
#67217A #7A2160 #7A2134
triadic
#7A2160 #607A21 #21607A
tetradic
#7A2160 #7A6721 #217A3B #21347A
square
#7A2160 #7A6721 #217A3B #21347A
split-complementary
#7A2160 #347A21 #217A67
monochromatic
#1A0714 #4A143A #7A2160 #AA2E86 #CD48A6

Accessibility & contrast

On white

9.49
#7A2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A2160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2160
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2160#FFFFFF#000000##FFFFFF
##7A21601.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C62
Deuteranopia (green-blind)
#444B5E
Tritanopia (blue-blind)
#82223D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a2160;
/* rgb */ color: rgb(122, 33, 96);
/* oklch */ color: oklch(41.2% 0.141 341.8);
Tailwind
colors: {
  custom: {
    50: '#a4658d',
    500: '#7a2160',
    950: '#000000',
  },
}
SCSS
$custom: #7a2160;
$custom-light: #a4658d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2160",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 317.528,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.14117,
    "h": 341.8
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#7A2160
secondary
#4AAD67
accent
#E17447
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A2160

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

Preview Lab → · Contrast checker → · Palette generator →

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