#7A225D#7A225D

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

Color values

HEX#7A225D
RGBrgb(122, 34, 93)
HSLhsl(320, 56%, 31%)
HSVhsv(320, 72%, 48%)
CMYKcmyk(0%, 72.1%, 23.8%, 52.2%)
CIE-LABlab(29.60, 43.94, -14.45)
CIE-LCHlch(29.60, 46.26, 341.80°)
OKLaboklab(41.13% 0.1323 -0.0385)
OKLCHoklch(41.13% 0.138 343.8)
XYZxyz(10.5742, 6.0730, 10.9691)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A225D #227A3F
analogous
#6B227A #7A225D #7A2231
triadic
#7A225D #5D7A22 #225D7A
tetradic
#7A225D #7A6B22 #227A3F #22317A
square
#7A225D #7A6B22 #227A3F #22317A
split-complementary
#7A225D #317A22 #227A6B
monochromatic
#1A0714 #4A1539 #7A225D #AA2F81 #CD4AA1

Accessibility & contrast

On white

9.48
#7A225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A225D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A225D#FFFFFF#000000##FFFFFF
##7A225D1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#82223C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a225d;
/* rgb */ color: rgb(122, 34, 93);
/* oklch */ color: oklch(41.1% 0.138 343.8);
Tailwind
colors: {
  custom: {
    50: '#a4658b',
    500: '#7a225d',
    950: '#000000',
  },
}
SCSS
$custom: #7a225d;
$custom-light: #a4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a225d",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 319.773,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41127,
    "c": 0.13781,
    "h": 343.8
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#7A225D
secondary
#4BAD6B
accent
#E07A48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A225D

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

Preview Lab → · Contrast checker → · Palette generator →

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