#7A2A4E#7A2A4E

#7A2A4E is a dark, moderate pink. Relative luminance 0.063; OKLCH L 41.4% C 0.118 H 355.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7A2A4E
RGBrgb(122, 42, 78)
HSLhsl(333, 49%, 32%)
HSVhsv(333, 66%, 48%)
CMYKcmyk(0%, 65.6%, 36.1%, 52.2%)
CIE-LABlab(30.27, 38.41, -3.62)
CIE-LCHlch(30.27, 38.58, 354.62°)
OKLaboklab(41.43% 0.1173 -0.0091)
OKLCHoklch(41.43% 0.118 355.6)
XYZxyz(10.2297, 6.3447, 7.8922)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A4E #2A7A56
analogous
#7A2A76 #7A2A4E #7A2E2A
triadic
#7A2A4E #4E7A2A #2A4E7A
tetradic
#7A2A4E #767A2A #2A7A56 #2E2A7A
square
#7A2A4E #767A2A #2A7A56 #2E2A7A
split-complementary
#7A2A4E #2A7A2E #2A767A
monochromatic
#1F0B14 #4C1A31 #7A2A4E #A83A6B #C6598A

Accessibility & contrast

On white

9.26
#7A2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2A4E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A4E#FFFFFF#000000##FFFFFF
##7A2A4E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#4D4D4C
Tritanopia (blue-blind)
#842438
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2a4e;
/* rgb */ color: rgb(122, 42, 78);
/* oklch */ color: oklch(41.4% 0.118 355.6);
Tailwind
colors: {
  custom: {
    50: '#a4697f',
    500: '#7a2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a4e;
$custom-light: #a4697f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a4e",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 333,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41425,
    "c": 0.11763,
    "h": 355.6
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#7A2A4E
secondary
#55AB84
accent
#D89B4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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