#7A224D#7A224D

#7A224D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.129 H 354.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7A224D
RGBrgb(122, 34, 77)
HSLhsl(331, 56%, 31%)
HSVhsv(331, 72%, 48%)
CMYKcmyk(0%, 72.1%, 36.9%, 52.2%)
CIE-LABlab(28.95, 41.80, -4.92)
CIE-LCHlch(28.95, 42.09, 353.29°)
OKLaboklab(40.44% 0.128 -0.0125)
OKLCHoklch(40.44% 0.129 354.4)
XYZxyz(9.9382, 5.8186, 7.6195)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A224D #227A4F
analogous
#7A2279 #7A224D #7A2322
triadic
#7A224D #4D7A22 #224D7A
tetradic
#7A224D #797A22 #227A4F #23227A
square
#7A224D #797A22 #227A4F #23227A
split-complementary
#7A224D #227A23 #22797A
monochromatic
#1A0711 #4A152F #7A224D #AA2F6B #CD4A8A

Accessibility & contrast

On white

9.71
#7A224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A224D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A224D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A224D#FFFFFF#000000##FFFFFF
##7A224D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#841A34
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a224d;
/* rgb */ color: rgb(122, 34, 77);
/* oklch */ color: oklch(40.4% 0.129 354.4);
Tailwind
colors: {
  custom: {
    50: '#a4657e',
    500: '#7a224d',
    950: '#000000',
  },
}
SCSS
$custom: #7a224d;
$custom-light: #a4657e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a224d",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 330.682,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40442,
    "c": 0.12859,
    "h": 354.4
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#7A224D
secondary
#4BAD7D
accent
#E09648
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A224D

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

Preview Lab → · Contrast checker → · Palette generator →

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