#7A2D52#7A2D52

#7A2D52 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 42.0% C 0.115 H 353.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7A2D52
RGBrgb(122, 45, 82)
HSLhsl(331, 46%, 33%)
HSVhsv(331, 63%, 48%)
CMYKcmyk(0%, 63.1%, 32.8%, 52.2%)
CIE-LABlab(30.94, 37.51, -5.24)
CIE-LCHlch(30.94, 37.87, 352.04°)
OKLaboklab(41.97% 0.1142 -0.0134)
OKLCHoklch(41.97% 0.115 353.3)
XYZxyz(10.4879, 6.6246, 8.7074)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D52 #2D7A55
analogous
#7A2D78 #7A2D52 #7A2E2D
triadic
#7A2D52 #527A2D #2D527A
tetradic
#7A2D52 #787A2D #2D7A55 #2E2D7A
square
#7A2D52 #787A2D #2D7A55 #2E2D7A
split-complementary
#7A2D52 #2D7A2E #2D787A
monochromatic
#210C16 #4D1D34 #7A2D52 #A73D70 #C45E8F

Accessibility & contrast

On white

9.03
#7A2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D52
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D52#FFFFFF#000000##FFFFFF
##7A2D521.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#83283C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2d52;
/* rgb */ color: rgb(122, 45, 82);
/* oklch */ color: oklch(42.0% 0.115 353.3);
Tailwind
colors: {
  custom: {
    50: '#a36a82',
    500: '#7a2d52',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d52;
$custom-light: #a36a82;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d52",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 331.169,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41969,
    "c": 0.11494,
    "h": 353.3
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#7A2D52
secondary
#59AA83
accent
#D69652
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F070A
muted
#7F7A7C

Preview Lab

Preview with #7A2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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