#7A2D58#7A2D58

#7A2D58 is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.2% C 0.118 H 348.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7A2D58
RGBrgb(122, 45, 88)
HSLhsl(326, 46%, 33%)
HSVhsv(326, 63%, 48%)
CMYKcmyk(0%, 63.1%, 27.9%, 52.2%)
CIE-LABlab(31.16, 38.34, -8.81)
CIE-LCHlch(31.16, 39.34, 347.06°)
OKLaboklab(42.21% 0.1161 -0.0231)
OKLCHoklch(42.21% 0.118 348.8)
XYZxyz(10.7263, 6.7200, 9.9628)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D58 #2D7A4F
analogous
#762D7A #7A2D58 #7A2D31
triadic
#7A2D58 #587A2D #2D587A
tetradic
#7A2D58 #7A762D #2D7A4F #2D317A
square
#7A2D58 #7A762D #2D7A4F #2D317A
split-complementary
#7A2D58 #317A2D #2D7A76
monochromatic
#210C18 #4D1D38 #7A2D58 #A73D78 #C45E97

Accessibility & contrast

On white

8.96
#7A2D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A2D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D58
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D58#FFFFFF#000000##FFFFFF
##7A2D581.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364159
Deuteranopia (green-blind)
#4C4E56
Tritanopia (blue-blind)
#822A3E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2d58;
/* rgb */ color: rgb(122, 45, 88);
/* oklch */ color: oklch(42.2% 0.118 348.8);
Tailwind
colors: {
  custom: {
    50: '#a36b87',
    500: '#7a2d58',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d58;
$custom-light: #a36b87;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d58",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 326.494,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.11832,
    "h": 348.8
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#7A2D58
secondary
#59AA7D
accent
#D68C52
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F070B
muted
#7F7A7C

Preview Lab

Preview with #7A2D58

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

Preview Lab → · Contrast checker → · Palette generator →

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