#7A246A#7A246A

#7A246A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.144 H 336.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7A246A
RGBrgb(122, 36, 106)
HSLhsl(311, 54%, 31%)
HSVhsv(311, 70%, 48%)
CMYKcmyk(0%, 70.5%, 13.1%, 52.2%)
CIE-LABlab(30.50, 45.13, -21.45)
CIE-LCHlch(30.50, 49.97, 334.58°)
OKLaboklab(41.98% 0.1322 -0.0584)
OKLCHoklch(41.98% 0.144 336.2)
XYZxyz(11.2586, 6.4409, 14.2831)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A246A #247A34
analogous
#5F247A #7A246A #7A243F
triadic
#7A246A #6A7A24 #246A7A
tetradic
#7A246A #7A5F24 #247A34 #243F7A
square
#7A246A #7A5F24 #247A34 #243F7A
split-complementary
#7A246A #3F7A24 #247A5F
monochromatic
#1B0818 #4B1641 #7A246A #A93293 #CB4EB3

Accessibility & contrast

On white

9.18
#7A246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7A246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A246A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A246A#FFFFFF#000000##FFFFFF
##7A246A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#424C68
Tritanopia (blue-blind)
#802943
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a246a;
/* rgb */ color: rgb(122, 36, 106);
/* oklch */ color: oklch(42.0% 0.144 336.2);
Tailwind
colors: {
  custom: {
    50: '#a36695',
    500: '#7a246a',
    950: '#000000',
  },
}
SCSS
$custom: #7a246a;
$custom-light: #a36695;
$custom-dark: #000000;
JSON
{
  "hex": "#7a246a",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 311.163,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.14448,
    "h": 336.2
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#7A246A
secondary
#4DAC5F
accent
#DE664A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A246A

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

Preview Lab → · Contrast checker → · Palette generator →

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