#7A2F58#7A2F58

#7A2F58 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.5% C 0.115 H 349.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7A2F58
RGBrgb(122, 47, 88)
HSLhsl(327, 44%, 33%)
HSVhsv(327, 61%, 48%)
CMYKcmyk(0%, 61.5%, 27.9%, 52.2%)
CIE-LABlab(31.52, 37.37, -8.27)
CIE-LCHlch(31.52, 38.27, 347.53°)
OKLaboklab(42.48% 0.1131 -0.0216)
OKLCHoklch(42.48% 0.115 349.2)
XYZxyz(10.8044, 6.8762, 9.9889)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F58 #2F7A51
analogous
#762F7A #7A2F58 #7A2F32
triadic
#7A2F58 #587A2F #2F587A
tetradic
#7A2F58 #7A762F #2F7A51 #2F327A
square
#7A2F58 #7A762F #2F7A51 #2F327A
split-complementary
#7A2F58 #327A2F #2F7A76
monochromatic
#220D18 #4E1E38 #7A2F58 #A64078 #C26196

Accessibility & contrast

On white

8.84
#7A2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A2F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F58
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F58#FFFFFF#000000##FFFFFF
##7A2F581.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384259
Deuteranopia (green-blind)
#4D4F56
Tritanopia (blue-blind)
#822C3F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2f58;
/* rgb */ color: rgb(122, 47, 88);
/* oklch */ color: oklch(42.5% 0.115 349.2);
Tailwind
colors: {
  custom: {
    50: '#a36c87',
    500: '#7a2f58',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f58;
$custom-light: #a36c87;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f58",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 327.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42477,
    "c": 0.11509,
    "h": 349.2
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#7A2F58
secondary
#5CA97F
accent
#D48E54
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F070B
muted
#7F7A7C

Preview Lab

Preview with #7A2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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