#7A225C#7A225C

#7A225C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.137 H 344.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7A225C
RGBrgb(122, 34, 92)
HSLhsl(320, 56%, 31%)
HSVhsv(320, 72%, 48%)
CMYKcmyk(0%, 72.1%, 24.6%, 52.2%)
CIE-LABlab(29.55, 43.80, -13.86)
CIE-LCHlch(29.55, 45.94, 342.44°)
OKLaboklab(41.08% 0.1321 -0.0369)
OKLCHoklch(41.08% 0.137 344.4)
XYZxyz(10.5302, 6.0554, 10.7374)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A225C #227A40
analogous
#6C227A #7A225C #7A2230
triadic
#7A225C #5C7A22 #225C7A
tetradic
#7A225C #7A6C22 #227A40 #22307A
square
#7A225C #7A6C22 #227A40 #22307A
split-complementary
#7A225C #307A22 #227A6C
monochromatic
#1A0714 #4A1538 #7A225C #AA2F80 #CD4AA0

Accessibility & contrast

On white

9.50
#7A225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A225C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A225C#FFFFFF#000000##FFFFFF
##7A225C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5E
Deuteranopia (green-blind)
#464B5A
Tritanopia (blue-blind)
#82213C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a225c;
/* rgb */ color: rgb(122, 34, 92);
/* oklch */ color: oklch(41.1% 0.137 344.4);
Tailwind
colors: {
  custom: {
    50: '#a4658a',
    500: '#7a225c',
    950: '#000000',
  },
}
SCSS
$custom: #7a225c;
$custom-light: #a4658a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a225c",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 320.455,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4108,
    "c": 0.13715,
    "h": 344.4
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#7A225C
secondary
#4BAD6C
accent
#E07C48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A225C

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

Preview Lab → · Contrast checker → · Palette generator →

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