#7A2A5D#7A2A5D

#7A2A5D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.126 H 344.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7A2A5D
RGBrgb(122, 42, 93)
HSLhsl(322, 49%, 32%)
HSVhsv(322, 66%, 48%)
CMYKcmyk(0%, 65.6%, 23.8%, 52.2%)
CIE-LABlab(30.84, 40.49, -12.54)
CIE-LCHlch(30.84, 42.39, 342.80°)
OKLaboklab(42.04% 0.1218 -0.0333)
OKLCHoklch(42.04% 0.126 344.7)
XYZxyz(10.8301, 6.5849, 11.0544)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A5D #2A7A47
analogous
#6F2A7A #7A2A5D #7A2A35
triadic
#7A2A5D #5D7A2A #2A5D7A
tetradic
#7A2A5D #7A6F2A #2A7A47 #2A357A
square
#7A2A5D #7A6F2A #2A7A47 #2A357A
split-complementary
#7A2A5D #357A2A #2A7A6F
monochromatic
#1F0B18 #4C1A3A #7A2A5D #A83A80 #C6599E

Accessibility & contrast

On white

9.06
#7A2A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2A5D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A5D#FFFFFF#000000##FFFFFF
##7A2A5D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405F
Deuteranopia (green-blind)
#494E5B
Tritanopia (blue-blind)
#82293F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2a5d;
/* rgb */ color: rgb(122, 42, 93);
/* oklch */ color: oklch(42.0% 0.126 344.7);
Tailwind
colors: {
  custom: {
    50: '#a3698b',
    500: '#7a2a5d',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a5d;
$custom-light: #a3698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a5d",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 321.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4204,
    "c": 0.12624,
    "h": 344.7
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#7A2A5D
secondary
#55AB74
accent
#D8814F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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