#7A2D5E#7A2D5E

#7A2D5E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.122 H 344.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7A2D5E
RGBrgb(122, 45, 94)
HSLhsl(322, 46%, 33%)
HSVhsv(322, 63%, 48%)
CMYKcmyk(0%, 63.1%, 23%, 52.2%)
CIE-LABlab(31.40, 39.23, -12.33)
CIE-LCHlch(31.40, 41.13, 342.55°)
OKLaboklab(42.47% 0.1177 -0.0328)
OKLCHoklch(42.47% 0.122 344.4)
XYZxyz(10.9851, 6.8235, 11.3260)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D5E #2D7A49
analogous
#6F2D7A #7A2D5E #7A2D37
triadic
#7A2D5E #5E7A2D #2D5E7A
tetradic
#7A2D5E #7A6F2D #2D7A49 #2D377A
square
#7A2D5E #7A6F2D #2D7A49 #2D377A
split-complementary
#7A2D5E #377A2D #2D7A6F
monochromatic
#210C19 #4D1D3C #7A2D5E #A73D80 #C45E9F

Accessibility & contrast

On white

8.88
#7A2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A2D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D5E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D5E#FFFFFF#000000##FFFFFF
##7A2D5E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344260
Deuteranopia (green-blind)
#4A4F5C
Tritanopia (blue-blind)
#822C41
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2d5e;
/* rgb */ color: rgb(122, 45, 94);
/* oklch */ color: oklch(42.5% 0.122 344.4);
Tailwind
colors: {
  custom: {
    50: '#a36b8b',
    500: '#7a2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d5e;
$custom-light: #a36b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d5e",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 321.818,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42466,
    "c": 0.12221,
    "h": 344.4
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#7A2D5E
secondary
#59AA76
accent
#D68252
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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