#7A2149#7A2149

#7A2149 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.128 H 357.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7A2149
RGBrgb(122, 33, 73)
HSLhsl(333, 57%, 30%)
HSVhsv(333, 73%, 48%)
CMYKcmyk(0%, 73%, 40.2%, 52.2%)
CIE-LABlab(28.66, 41.73, -2.69)
CIE-LCHlch(28.66, 41.82, 356.31°)
OKLaboklab(40.18% 0.1279 -0.0065)
OKLCHoklch(40.18% 0.128 357.1)
XYZxyz(9.7731, 5.7075, 6.8890)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2149 #217A52
analogous
#7A2175 #7A2149 #7A2621
triadic
#7A2149 #497A21 #21497A
tetradic
#7A2149 #757A21 #217A52 #26217A
square
#7A2149 #757A21 #217A52 #26217A
split-complementary
#7A2149 #217A26 #21757A
monochromatic
#1A070F #4A142C #7A2149 #AA2E66 #CD4884

Accessibility & contrast

On white

9.81
#7A2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A2149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2149
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2149#FFFFFF#000000##FFFFFF
##7A21491.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394A
Deuteranopia (green-blind)
#4A4A47
Tritanopia (blue-blind)
#841732
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2149;
/* rgb */ color: rgb(122, 33, 73);
/* oklch */ color: oklch(40.2% 0.128 357.1);
Tailwind
colors: {
  custom: {
    50: '#a4647b',
    500: '#7a2149',
    950: '#000000',
  },
}
SCSS
$custom: #7a2149;
$custom-light: #a4647b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2149",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 333.034,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40183,
    "c": 0.1281,
    "h": 357.1
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#7A2149
secondary
#4AAD80
accent
#E19C47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2149

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

Preview Lab → · Contrast checker → · Palette generator →

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