#7A2256#7A2256

#7A2256 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.133 H 348.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7A2256
RGBrgb(122, 34, 86)
HSLhsl(325, 56%, 31%)
HSVhsv(325, 72%, 48%)
CMYKcmyk(0%, 72.1%, 29.5%, 52.2%)
CIE-LABlab(29.30, 42.96, -10.33)
CIE-LCHlch(29.30, 44.19, 346.49°)
OKLaboklab(40.81% 0.1306 -0.0271)
OKLCHoklch(40.81% 0.133 348.3)
XYZxyz(10.2783, 5.9546, 9.4104)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2256 #227A46
analogous
#72227A #7A2256 #7A222A
triadic
#7A2256 #567A22 #22567A
tetradic
#7A2256 #7A7222 #227A46 #222A7A
square
#7A2256 #7A7222 #227A46 #222A7A
split-complementary
#7A2256 #2A7A22 #227A72
monochromatic
#1A0713 #4A1534 #7A2256 #AA2F78 #CD4A97

Accessibility & contrast

On white

9.59
#7A2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2256
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2256#FFFFFF#000000##FFFFFF
##7A22561.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B57
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#831F39
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2256;
/* rgb */ color: rgb(122, 34, 86);
/* oklch */ color: oklch(40.8% 0.133 348.3);
Tailwind
colors: {
  custom: {
    50: '#a46585',
    500: '#7a2256',
    950: '#000000',
  },
}
SCSS
$custom: #7a2256;
$custom-light: #a46585;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2256",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 324.545,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40811,
    "c": 0.13342,
    "h": 348.3
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#7A2256
secondary
#4BAD73
accent
#E08648
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A2256

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

Preview Lab → · Contrast checker → · Palette generator →

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