#7A2155#7A2155

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

Color values

HEX#7A2155
RGBrgb(122, 33, 85)
HSLhsl(325, 57%, 30%)
HSVhsv(325, 73%, 48%)
CMYKcmyk(0%, 73%, 30.3%, 52.2%)
CIE-LABlab(29.11, 43.23, -9.95)
CIE-LCHlch(29.11, 44.36, 347.04°)
OKLaboklab(40.66% 0.1316 -0.0261)
OKLCHoklch(40.66% 0.134 348.8)
XYZxyz(10.2101, 5.8823, 9.1903)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2155 #217A46
analogous
#72217A #7A2155 #7A2128
triadic
#7A2155 #557A21 #21557A
tetradic
#7A2155 #7A7221 #217A46 #21287A
square
#7A2155 #7A7221 #217A46 #21287A
split-complementary
#7A2155 #287A21 #217A72
monochromatic
#1A0712 #4A1433 #7A2155 #AA2E77 #CD4896

Accessibility & contrast

On white

9.65
#7A2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2155
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2155#FFFFFF#000000##FFFFFF
##7A21551.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B56
Deuteranopia (green-blind)
#474A53
Tritanopia (blue-blind)
#831D38
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2155;
/* rgb */ color: rgb(122, 33, 85);
/* oklch */ color: oklch(40.7% 0.134 348.8);
Tailwind
colors: {
  custom: {
    50: '#a46485',
    500: '#7a2155',
    950: '#000000',
  },
}
SCSS
$custom: #7a2155;
$custom-light: #a46485;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2155",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 324.944,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.13417,
    "h": 348.8
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#7A2155
secondary
#4AAD73
accent
#E18747
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A2155

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

Preview Lab → · Contrast checker → · Palette generator →

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