#7A225B#7A225B

#7A225B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.137 H 345.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7A225B
RGBrgb(122, 34, 91)
HSLhsl(321, 56%, 31%)
HSVhsv(321, 72%, 48%)
CMYKcmyk(0%, 72.1%, 25.4%, 52.2%)
CIE-LABlab(29.51, 43.66, -13.28)
CIE-LCHlch(29.51, 45.63, 343.08°)
OKLaboklab(41.03% 0.1319 -0.0353)
OKLCHoklch(41.03% 0.137 345)
XYZxyz(10.4868, 6.0380, 10.5087)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A225B #227A41
analogous
#6D227A #7A225B #7A222F
triadic
#7A225B #5B7A22 #225B7A
tetradic
#7A225B #7A6D22 #227A41 #222F7A
square
#7A225B #7A6D22 #227A41 #222F7A
split-complementary
#7A225B #2F7A22 #227A6D
monochromatic
#1A0714 #4A1537 #7A225B #AA2F7F #CD4A9F

Accessibility & contrast

On white

9.51
#7A225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A225B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A225B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A225B#FFFFFF#000000##FFFFFF
##7A225B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#82213B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a225b;
/* rgb */ color: rgb(122, 34, 91);
/* oklch */ color: oklch(41.0% 0.137 345.0);
Tailwind
colors: {
  custom: {
    50: '#a46589',
    500: '#7a225b',
    950: '#000000',
  },
}
SCSS
$custom: #7a225b;
$custom-light: #a46589;
$custom-dark: #000000;
JSON
{
  "hex": "#7a225b",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 321.136,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41034,
    "c": 0.13651,
    "h": 345
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#7A225B
secondary
#4BAD6D
accent
#E07E48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A225B

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

Preview Lab → · Contrast checker → · Palette generator →

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