#7A2F56#7A2F56

#7A2F56 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.4% C 0.114 H 350.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7A2F56
RGBrgb(122, 47, 86)
HSLhsl(329, 44%, 33%)
HSVhsv(329, 61%, 48%)
CMYKcmyk(0%, 61.5%, 29.5%, 52.2%)
CIE-LABlab(31.45, 37.08, -7.08)
CIE-LCHlch(31.45, 37.75, 349.19°)
OKLaboklab(42.4% 0.1124 -0.0184)
OKLCHoklch(42.4% 0.114 350.7)
XYZxyz(10.7227, 6.8435, 9.5585)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F56 #2F7A53
analogous
#782F7A #7A2F56 #7A2F30
triadic
#7A2F56 #567A2F #2F567A
tetradic
#7A2F56 #7A782F #2F7A53 #2F307A
square
#7A2F56 #7A782F #2F7A53 #2F307A
split-complementary
#7A2F56 #307A2F #2F7A78
monochromatic
#220D18 #4E1E37 #7A2F56 #A64075 #C26194

Accessibility & contrast

On white

8.87
#7A2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A2F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F56
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F56#FFFFFF#000000##FFFFFF
##7A2F561.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#4D4F54
Tritanopia (blue-blind)
#832C3E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2f56;
/* rgb */ color: rgb(122, 47, 86);
/* oklch */ color: oklch(42.4% 0.114 350.7);
Tailwind
colors: {
  custom: {
    50: '#a36c85',
    500: '#7a2f56',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f56;
$custom-light: #a36c85;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f56",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 328.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42397,
    "c": 0.11392,
    "h": 350.7
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#7A2F56
secondary
#5CA981
accent
#D49154
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F070B
muted
#7F7A7C

Preview Lab

Preview with #7A2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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