#7A2145#7A2145

#7A2145 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 360.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7A2145
RGBrgb(122, 33, 69)
HSLhsl(336, 57%, 30%)
HSVhsv(336, 73%, 48%)
CMYKcmyk(0%, 73%, 43.4%, 52.2%)
CIE-LABlab(28.53, 41.28, -0.22)
CIE-LCHlch(28.53, 41.28, 359.69°)
OKLaboklab(40.04% 0.1265 -0.0001)
OKLCHoklch(40.04% 0.127 0)
XYZxyz(9.6448, 5.6562, 6.2129)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2145 #217A56
analogous
#7A2171 #7A2145 #7A2921
triadic
#7A2145 #457A21 #21457A
tetradic
#7A2145 #717A21 #217A56 #29217A
square
#7A2145 #717A21 #217A56 #29217A
split-complementary
#7A2145 #217A29 #21717A
monochromatic
#1A070F #4A142A #7A2145 #AA2E60 #CD487E

Accessibility & contrast

On white

9.85
#7A2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2145
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2145#FFFFFF#000000##FFFFFF
##7A21451.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333846
Deuteranopia (green-blind)
#4B4A43
Tritanopia (blue-blind)
#841530
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a2145;
/* rgb */ color: rgb(122, 33, 69);
/* oklch */ color: oklch(40.0% 0.127 360.0);
Tailwind
colors: {
  custom: {
    50: '#a56478',
    500: '#7a2145',
    950: '#000000',
  },
}
SCSS
$custom: #7a2145;
$custom-light: #a56478;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2145",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 335.73,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4004,
    "c": 0.12652,
    "h": 360
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#7A2145
secondary
#4AAD85
accent
#E1A347
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2145

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

Preview Lab → · Contrast checker → · Palette generator →

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