#7A2F52#7A2F52

#7A2F52 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.2% C 0.112 H 353.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7A2F52
RGBrgb(122, 47, 82)
HSLhsl(332, 44%, 33%)
HSVhsv(332, 61%, 48%)
CMYKcmyk(0%, 61.5%, 32.8%, 52.2%)
CIE-LABlab(31.30, 36.52, -4.70)
CIE-LCHlch(31.30, 36.82, 352.67°)
OKLaboklab(42.24% 0.1111 -0.0119)
OKLCHoklch(42.24% 0.112 353.9)
XYZxyz(10.5660, 6.7809, 8.7334)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F52 #2F7A57
analogous
#7A2F77 #7A2F52 #7A312F
triadic
#7A2F52 #527A2F #2F527A
tetradic
#7A2F52 #777A2F #2F7A57 #312F7A
square
#7A2F52 #777A2F #2F7A57 #312F7A
split-complementary
#7A2F52 #2F7A31 #2F777A
monochromatic
#220D17 #4E1E34 #7A2F52 #A64070 #C2618E

Accessibility & contrast

On white

8.91
#7A2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A2F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F52
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F52#FFFFFF#000000##FFFFFF
##7A2F521.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#4E4F50
Tritanopia (blue-blind)
#832B3D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2f52;
/* rgb */ color: rgb(122, 47, 82);
/* oklch */ color: oklch(42.2% 0.112 353.9);
Tailwind
colors: {
  custom: {
    50: '#a36c82',
    500: '#7a2f52',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f52;
$custom-light: #a36c82;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f52",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 332,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.11175,
    "h": 353.9
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#7A2F52
secondary
#5CA985
accent
#D49854
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F070A
muted
#7F7A7C

Preview Lab

Preview with #7A2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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