#7F2D58#7F2D58

#7F2D58 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.0% C 0.123 H 351.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7F2D58
RGBrgb(127, 45, 88)
HSLhsl(329, 48%, 34%)
HSVhsv(329, 65%, 50%)
CMYKcmyk(0%, 64.6%, 30.7%, 50.2%)
CIE-LABlab(32.02, 39.97, -7.43)
CIE-LCHlch(32.02, 40.66, 349.47°)
OKLaboklab(43.01% 0.1215 -0.0193)
OKLCHoklch(43.01% 0.123 351)
XYZxyz(11.4528, 7.0946, 9.9969)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D58 #2D7F54
analogous
#7D2D7F #7F2D58 #7F2D2F
triadic
#7F2D58 #587F2D #2D587F
tetradic
#7F2D58 #7F7D2D #2D7F54 #2D2F7F
square
#7F2D58 #7F7D2D #2D7F54 #2D2F7F
split-complementary
#7F2D58 #2F7F2D #2D7F7D
monochromatic
#250D19 #521D39 #7F2D58 #AC3D77 #C76096

Accessibility & contrast

On white

8.68
#7F2D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F2D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D58
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D58#FFFFFF#000000##FFFFFF
##7F2D581.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384259
Deuteranopia (green-blind)
#4F5156
Tritanopia (blue-blind)
#88293E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2d58;
/* rgb */ color: rgb(127, 45, 88);
/* oklch */ color: oklch(43.0% 0.123 351.0);
Tailwind
colors: {
  custom: {
    50: '#a76b87',
    500: '#7f2d58',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d58;
$custom-light: #a76b87;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d58",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 328.537,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43013,
    "c": 0.12301,
    "h": 351
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#7F2D58
secondary
#5BAD82
accent
#D79151
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F2D58

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

Preview Lab → · Contrast checker → · Palette generator →

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