#7A2154#7A2154

#7A2154 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.134 H 349.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7A2154
RGBrgb(122, 33, 84)
HSLhsl(326, 57%, 30%)
HSVhsv(326, 73%, 48%)
CMYKcmyk(0%, 73%, 31.1%, 52.2%)
CIE-LABlab(29.07, 43.10, -9.35)
CIE-LCHlch(29.07, 44.10, 347.76°)
OKLaboklab(40.62% 0.1313 -0.0244)
OKLCHoklch(40.62% 0.134 349.5)
XYZxyz(10.1706, 5.8665, 8.9825)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2154 #217A47
analogous
#73217A #7A2154 #7A2127
triadic
#7A2154 #547A21 #21547A
tetradic
#7A2154 #7A7321 #217A47 #21277A
square
#7A2154 #7A7321 #217A47 #21277A
split-complementary
#7A2154 #277A21 #217A73
monochromatic
#1A0712 #4A1433 #7A2154 #AA2E75 #CD4894

Accessibility & contrast

On white

9.66
#7A2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7A2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2154
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2154#FFFFFF#000000##FFFFFF
##7A21541.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B55
Deuteranopia (green-blind)
#484A52
Tritanopia (blue-blind)
#831D37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2154;
/* rgb */ color: rgb(122, 33, 84);
/* oklch */ color: oklch(40.6% 0.134 349.5);
Tailwind
colors: {
  custom: {
    50: '#a46484',
    500: '#7a2154',
    950: '#000000',
  },
}
SCSS
$custom: #7a2154;
$custom-light: #a46484;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2154",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 325.618,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4062,
    "c": 0.13359,
    "h": 349.5
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#7A2154
secondary
#4AAD74
accent
#E18947
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A2154

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

Preview Lab → · Contrast checker → · Palette generator →

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