#7A2A63#7A2A63

#7A2A63 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.130 H 340.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7A2A63
RGBrgb(122, 42, 99)
HSLhsl(317, 49%, 32%)
HSVhsv(317, 66%, 48%)
CMYKcmyk(0%, 65.6%, 18.9%, 52.2%)
CIE-LABlab(31.10, 41.41, -16.02)
CIE-LCHlch(31.10, 44.40, 338.86°)
OKLaboklab(42.32% 0.1232 -0.043)
OKLCHoklch(42.32% 0.13 340.7)
XYZxyz(11.1064, 6.6954, 12.5094)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A63 #2A7A41
analogous
#692A7A #7A2A63 #7A2A3B
triadic
#7A2A63 #637A2A #2A637A
tetradic
#7A2A63 #7A692A #2A7A41 #2A3B7A
square
#7A2A63 #7A692A #2A7A41 #2A3B7A
split-complementary
#7A2A63 #3B7A2A #2A7A69
monochromatic
#1F0B19 #4C1A3E #7A2A63 #A83A88 #C659A6

Accessibility & contrast

On white

8.98
#7A2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2A63
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A63#FFFFFF#000000##FFFFFF
##7A2A631.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4165
Deuteranopia (green-blind)
#474E61
Tritanopia (blue-blind)
#812C42
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2a63;
/* rgb */ color: rgb(122, 42, 99);
/* oklch */ color: oklch(42.3% 0.130 340.7);
Tailwind
colors: {
  custom: {
    50: '#a3698f',
    500: '#7a2a63',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a63;
$custom-light: #a3698f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a63",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 317.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.13048,
    "h": 340.7
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#7A2A63
secondary
#55AB6D
accent
#D8774F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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