#7A2A5E#7A2A5E

#7A2A5E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.127 H 344.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7A2A5E
RGBrgb(122, 42, 94)
HSLhsl(321, 49%, 32%)
HSVhsv(321, 66%, 48%)
CMYKcmyk(0%, 65.6%, 23%, 52.2%)
CIE-LABlab(30.88, 40.64, -13.12)
CIE-LCHlch(30.88, 42.71, 342.11°)
OKLaboklab(42.09% 0.122 -0.0349)
OKLCHoklch(42.09% 0.127 344)
XYZxyz(10.8747, 6.6027, 11.2892)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A5E #2A7A46
analogous
#6E2A7A #7A2A5E #7A2A36
triadic
#7A2A5E #5E7A2A #2A5E7A
tetradic
#7A2A5E #7A6E2A #2A7A46 #2A367A
square
#7A2A5E #7A6E2A #2A7A46 #2A367A
split-complementary
#7A2A5E #367A2A #2A7A6E
monochromatic
#1F0B18 #4C1A3B #7A2A5E #A83A81 #C659A0

Accessibility & contrast

On white

9.05
#7A2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A2A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A5E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A5E#FFFFFF#000000##FFFFFF
##7A2A5E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314060
Deuteranopia (green-blind)
#494E5C
Tritanopia (blue-blind)
#822A40
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2a5e;
/* rgb */ color: rgb(122, 42, 94);
/* oklch */ color: oklch(42.1% 0.127 344.0);
Tailwind
colors: {
  custom: {
    50: '#a3698b',
    500: '#7a2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a5e;
$custom-light: #a3698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a5e",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 321,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.12692,
    "h": 344
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#7A2A5E
secondary
#55AB73
accent
#D87F4F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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