#7A2249#7A2249

#7A2249 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.127 H 357.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7A2249
RGBrgb(122, 34, 73)
HSLhsl(333, 56%, 31%)
HSVhsv(333, 72%, 48%)
CMYKcmyk(0%, 72.1%, 40.2%, 52.2%)
CIE-LABlab(28.81, 41.33, -2.47)
CIE-LCHlch(28.81, 41.40, 356.57°)
OKLaboklab(40.29% 0.1267 -0.006)
OKLCHoklch(40.29% 0.127 357.3)
XYZxyz(9.8013, 5.7638, 6.8984)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2249 #227A53
analogous
#7A2275 #7A2249 #7A2722
triadic
#7A2249 #497A22 #22497A
tetradic
#7A2249 #757A22 #227A53 #27227A
square
#7A2249 #757A22 #227A53 #27227A
split-complementary
#7A2249 #227A27 #22757A
monochromatic
#1A0710 #4A152C #7A2249 #AA2F66 #CD4A84

Accessibility & contrast

On white

9.76
#7A2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A2249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2249
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2249#FFFFFF#000000##FFFFFF
##7A22491.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33394A
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#841932
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2249;
/* rgb */ color: rgb(122, 34, 73);
/* oklch */ color: oklch(40.3% 0.127 357.3);
Tailwind
colors: {
  custom: {
    50: '#a4647b',
    500: '#7a2249',
    950: '#000000',
  },
}
SCSS
$custom: #7a2249;
$custom-light: #a4647b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2249",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 333.409,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40291,
    "c": 0.12679,
    "h": 357.3
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#7A2249
secondary
#4BAD81
accent
#E09D48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2249

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

Preview Lab → · Contrast checker → · Palette generator →

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