#7A2146#7A2146

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

Color values

HEX#7A2146
RGBrgb(122, 33, 70)
HSLhsl(335, 57%, 30%)
HSVhsv(335, 73%, 48%)
CMYKcmyk(0%, 73%, 42.6%, 52.2%)
CIE-LABlab(28.56, 41.39, -0.84)
CIE-LCHlch(28.56, 41.40, 358.83°)
OKLaboklab(40.08% 0.1269 -0.0017)
OKLCHoklch(40.08% 0.127 359.2)
XYZxyz(9.6761, 5.6687, 6.3778)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2146 #217A55
analogous
#7A2172 #7A2146 #7A2821
triadic
#7A2146 #467A21 #21467A
tetradic
#7A2146 #727A21 #217A55 #28217A
square
#7A2146 #727A21 #217A55 #28217A
split-complementary
#7A2146 #217A28 #21727A
monochromatic
#1A070F #4A142A #7A2146 #AA2E62 #CD487F

Accessibility & contrast

On white

9.84
#7A2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2146
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2146#FFFFFF#000000##FFFFFF
##7A21461.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333947
Deuteranopia (green-blind)
#4B4A44
Tritanopia (blue-blind)
#841630
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a2146;
/* rgb */ color: rgb(122, 33, 70);
/* oklch */ color: oklch(40.1% 0.127 359.2);
Tailwind
colors: {
  custom: {
    50: '#a56479',
    500: '#7a2146',
    950: '#000000',
  },
}
SCSS
$custom: #7a2146;
$custom-light: #a56479;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2146",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 335.056,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.12689,
    "h": 359.2
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#7A2146
secondary
#4AAD84
accent
#E1A147
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A2146

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

Preview Lab → · Contrast checker → · Palette generator →

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