#7F2A58#7F2A58

#7F2A58 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.128 H 350.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7F2A58
RGBrgb(127, 42, 88)
HSLhsl(328, 50%, 33%)
HSVhsv(328, 67%, 50%)
CMYKcmyk(0%, 66.9%, 30.7%, 50.2%)
CIE-LABlab(31.52, 41.35, -8.19)
CIE-LCHlch(31.52, 42.15, 348.80°)
OKLaboklab(42.64% 0.1258 -0.0213)
OKLCHoklch(42.64% 0.128 350.4)
XYZxyz(11.3423, 6.8737, 9.9601)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A58 #2A7F51
analogous
#7B2A7F #7F2A58 #7F2A2E
triadic
#7F2A58 #587F2A #2A587F
tetradic
#7F2A58 #7F7B2A #2A7F51 #2A2E7F
square
#7F2A58 #7F7B2A #2A7F51 #2A2E7F
split-complementary
#7F2A58 #2E7F2A #2A7F7B
monochromatic
#230C18 #511B38 #7F2A58 #AD3978 #C95B96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2A58#FFFFFF#000000##FFFFFF
##7F2A581.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364159
Deuteranopia (green-blind)
#4E5056
Tritanopia (blue-blind)
#88263D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2a58;
/* rgb */ color: rgb(127, 42, 88);
/* oklch */ color: oklch(42.6% 0.128 350.4);
Tailwind
colors: {
  custom: {
    50: '#a76a87',
    500: '#7f2a58',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a58;
$custom-light: #a76a87;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a58",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 327.529,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42641,
    "c": 0.12754,
    "h": 350.4
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#7F2A58
secondary
#57AE7F
accent
#DA8E4E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F2A58

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

Preview Lab → · Contrast checker → · Palette generator →

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