#7A2A4F#7A2A4F

#7A2A4F is a dark, moderate pink. Relative luminance 0.064; OKLCH L 41.5% C 0.118 H 354.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7A2A4F
RGBrgb(122, 42, 79)
HSLhsl(332, 49%, 32%)
HSVhsv(332, 66%, 48%)
CMYKcmyk(0%, 65.6%, 35.2%, 52.2%)
CIE-LABlab(30.30, 38.54, -4.22)
CIE-LCHlch(30.30, 38.77, 353.75°)
OKLaboklab(41.46% 0.1176 -0.0107)
OKLCHoklch(41.46% 0.118 354.8)
XYZxyz(10.2658, 6.3591, 8.0824)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A4F #2A7A55
analogous
#7A2A77 #7A2A4F #7A2D2A
triadic
#7A2A4F #4F7A2A #2A4F7A
tetradic
#7A2A4F #777A2A #2A7A55 #2D2A7A
square
#7A2A4F #777A2A #2A7A55 #2D2A7A
split-complementary
#7A2A4F #2A7A2D #2A777A
monochromatic
#1F0B14 #4C1A32 #7A2A4F #A83A6C #C6598B

Accessibility & contrast

On white

9.24
#7A2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7A2A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A4F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A4F#FFFFFF#000000##FFFFFF
##7A2A4F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E50
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#832439
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2a4f;
/* rgb */ color: rgb(122, 42, 79);
/* oklch */ color: oklch(41.5% 0.118 354.8);
Tailwind
colors: {
  custom: {
    50: '#a46980',
    500: '#7a2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a4f;
$custom-light: #a46980;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a4f",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 332.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.1181,
    "h": 354.8
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#7A2A4F
secondary
#55AB83
accent
#D8994F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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