#7A2144#7A2144

#7A2144 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.126 H 0.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7A2144
RGBrgb(122, 33, 68)
HSLhsl(336, 57%, 30%)
HSVhsv(336, 73%, 48%)
CMYKcmyk(0%, 73%, 44.3%, 52.2%)
CIE-LABlab(28.50, 41.18, 0.39)
CIE-LCHlch(28.50, 41.18, 0.55°)
OKLaboklab(40.01% 0.1262 0.0015)
OKLCHoklch(40.01% 0.126 0.7)
XYZxyz(9.6140, 5.6438, 6.0508)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2144 #217A57
analogous
#7A2170 #7A2144 #7A2A21
triadic
#7A2144 #447A21 #21447A
tetradic
#7A2144 #707A21 #217A57 #2A217A
square
#7A2144 #707A21 #217A57 #2A217A
split-complementary
#7A2144 #217A2A #21707A
monochromatic
#1A070E #4A1429 #7A2144 #AA2E5F #CD487C

Accessibility & contrast

On white

9.87
#7A2144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A2144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2144
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2144#FFFFFF#000000##FFFFFF
##7A21441.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343845
Deuteranopia (green-blind)
#4C4942
Tritanopia (blue-blind)
#851530
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a2144;
/* rgb */ color: rgb(122, 33, 68);
/* oklch */ color: oklch(40.0% 0.126 0.7);
Tailwind
colors: {
  custom: {
    50: '#a56477',
    500: '#7a2144',
    950: '#000000',
  },
}
SCSS
$custom: #7a2144;
$custom-light: #a56477;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2144",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 336.404,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40006,
    "c": 0.12617,
    "h": 0.7
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#7A2144
secondary
#4AAD86
accent
#E1A447
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A2144

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

Preview Lab → · Contrast checker → · Palette generator →

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