#7A224F#7A224F

#7A224F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.130 H 353.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7A224F
RGBrgb(122, 34, 79)
HSLhsl(329, 56%, 31%)
HSVhsv(329, 72%, 48%)
CMYKcmyk(0%, 72.1%, 35.2%, 52.2%)
CIE-LABlab(29.02, 42.05, -6.13)
CIE-LCHlch(29.02, 42.50, 351.71°)
OKLaboklab(40.52% 0.1286 -0.0157)
OKLCHoklch(40.52% 0.13 353)
XYZxyz(10.0099, 5.8473, 7.9971)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A224F #227A4D
analogous
#79227A #7A224F #7A2223
triadic
#7A224F #4F7A22 #224F7A
tetradic
#7A224F #7A7922 #227A4D #22237A
square
#7A224F #7A7922 #227A4D #22237A
split-complementary
#7A224F #237A22 #227A79
monochromatic
#1A0711 #4A1530 #7A224F #AA2F6E #CD4A8D

Accessibility & contrast

On white

9.68
#7A224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7A224F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A224F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A224F#FFFFFF#000000##FFFFFF
##7A224F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A50
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#841B35
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a224f;
/* rgb */ color: rgb(122, 34, 79);
/* oklch */ color: oklch(40.5% 0.130 353.0);
Tailwind
colors: {
  custom: {
    50: '#a46580',
    500: '#7a224f',
    950: '#000000',
  },
}
SCSS
$custom: #7a224f;
$custom-light: #a46580;
$custom-dark: #000000;
JSON
{
  "hex": "#7a224f",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 329.318,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.12957,
    "h": 353
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#7A224F
secondary
#4BAD7B
accent
#E09248
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A224F

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

Preview Lab → · Contrast checker → · Palette generator →

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