#7A2B5E#7A2B5E

#7A2B5E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.125 H 344.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7A2B5E
RGBrgb(122, 43, 94)
HSLhsl(321, 48%, 32%)
HSVhsv(321, 65%, 48%)
CMYKcmyk(0%, 64.8%, 23%, 52.2%)
CIE-LABlab(31.05, 40.18, -12.86)
CIE-LCHlch(31.05, 42.19, 342.25°)
OKLaboklab(42.21% 0.1206 -0.0342)
OKLCHoklch(42.21% 0.125 344.2)
XYZxyz(10.9106, 6.6745, 11.3012)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B5E #2B7A47
analogous
#6F2B7A #7A2B5E #7A2B36
triadic
#7A2B5E #5E7A2B #2B5E7A
tetradic
#7A2B5E #7A6F2B #2B7A47 #2B367A
square
#7A2B5E #7A6F2B #2B7A47 #2B367A
split-complementary
#7A2B5E #367A2B #2B7A6F
monochromatic
#1F0B18 #4D1B3B #7A2B5E #A73B81 #C55A9F

Accessibility & contrast

On white

9.00
#7A2B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A2B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B5E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B5E#FFFFFF#000000##FFFFFF
##7A2B5E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2b5e;
/* rgb */ color: rgb(122, 43, 94);
/* oklch */ color: oklch(42.2% 0.125 344.2);
Tailwind
colors: {
  custom: {
    50: '#a36a8b',
    500: '#7a2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b5e;
$custom-light: #a36a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b5e",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 321.266,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4221,
    "c": 0.12537,
    "h": 344.2
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#7A2B5E
secondary
#56AB74
accent
#D78050
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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