#7A2452#7A2452

#7A2452 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.128 H 351.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7A2452
RGBrgb(122, 36, 82)
HSLhsl(328, 54%, 31%)
HSVhsv(328, 70%, 48%)
CMYKcmyk(0%, 70.5%, 32.8%, 52.2%)
CIE-LABlab(29.44, 41.61, -7.49)
CIE-LCHlch(29.44, 42.27, 349.80°)
OKLaboklab(40.86% 0.1269 -0.0194)
OKLCHoklch(40.86% 0.128 351.3)
XYZxyz(10.1804, 6.0096, 8.6049)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2452 #247A4C
analogous
#77247A #7A2452 #7A2427
triadic
#7A2452 #527A24 #24527A
tetradic
#7A2452 #7A7724 #247A4C #24277A
square
#7A2452 #7A7724 #247A4C #24277A
split-complementary
#7A2452 #277A24 #247A77
monochromatic
#1B0812 #4B1632 #7A2452 #A93272 #CB4E91

Accessibility & contrast

On white

9.54
#7A2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2452
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2452#FFFFFF#000000##FFFFFF
##7A24521.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C53
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#831F37
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2452;
/* rgb */ color: rgb(122, 36, 82);
/* oklch */ color: oklch(40.9% 0.128 351.3);
Tailwind
colors: {
  custom: {
    50: '#a46682',
    500: '#7a2452',
    950: '#000000',
  },
}
SCSS
$custom: #7a2452;
$custom-light: #a46682;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2452",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 327.907,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.12839,
    "h": 351.3
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#7A2452
secondary
#4DAC7A
accent
#DE8F4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A2452

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

Preview Lab → · Contrast checker → · Palette generator →

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