#7A224B#7A224B

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

Color values

HEX#7A224B
RGBrgb(122, 34, 75)
HSLhsl(332, 56%, 31%)
HSVhsv(332, 72%, 48%)
CMYKcmyk(0%, 72.1%, 38.5%, 52.2%)
CIE-LABlab(28.88, 41.56, -3.70)
CIE-LCHlch(28.88, 41.73, 354.91°)
OKLaboklab(40.37% 0.1273 -0.0092)
OKLCHoklch(40.37% 0.128 355.9)
XYZxyz(9.8687, 5.7908, 7.2533)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A224B #227A51
analogous
#7A2277 #7A224B #7A2522
triadic
#7A224B #4B7A22 #224B7A
tetradic
#7A224B #777A22 #227A51 #25227A
square
#7A224B #777A22 #227A51 #25227A
split-complementary
#7A224B #227A25 #22777A
monochromatic
#1A0710 #4A152E #7A224B #AA2F68 #CD4A87

Accessibility & contrast

On white

9.73
#7A224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A224B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A224B#FFFFFF#000000##FFFFFF
##7A224B1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#841933
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a224b;
/* rgb */ color: rgb(122, 34, 75);
/* oklch */ color: oklch(40.4% 0.128 355.9);
Tailwind
colors: {
  custom: {
    50: '#a4647d',
    500: '#7a224b',
    950: '#000000',
  },
}
SCSS
$custom: #7a224b;
$custom-light: #a4647d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a224b",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 332.045,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.12766,
    "h": 355.9
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#7A224B
secondary
#4BAD7F
accent
#E09948
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A224B

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

Preview Lab → · Contrast checker → · Palette generator →

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