#7F2B59#7F2B59

#7F2B59 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.8% C 0.127 H 349.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7F2B59
RGBrgb(127, 43, 89)
HSLhsl(327, 49%, 33%)
HSVhsv(327, 66%, 50%)
CMYKcmyk(0%, 66.1%, 29.9%, 50.2%)
CIE-LABlab(31.72, 41.03, -8.53)
CIE-LCHlch(31.72, 41.91, 348.25°)
OKLaboklab(42.8% 0.1247 -0.0222)
OKLCHoklch(42.8% 0.127 349.9)
XYZxyz(11.4200, 6.9622, 10.1917)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B59 #2B7F51
analogous
#7B2B7F #7F2B59 #7F2B2F
triadic
#7F2B59 #597F2B #2B597F
tetradic
#7F2B59 #7F7B2B #2B7F51 #2B2F7F
square
#7F2B59 #7F7B2B #2B7F51 #2B2F7F
split-complementary
#7F2B59 #2F7F2B #2B7F7B
monochromatic
#240C19 #511C39 #7F2B59 #AD3A79 #C85C97

Accessibility & contrast

On white

8.78
#7F2B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7F2B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B59
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B59#FFFFFF#000000##FFFFFF
##7F2B591.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36415A
Deuteranopia (green-blind)
#4E5057
Tritanopia (blue-blind)
#88273E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2b59;
/* rgb */ color: rgb(127, 43, 89);
/* oklch */ color: oklch(42.8% 0.127 349.9);
Tailwind
colors: {
  custom: {
    50: '#a76a87',
    500: '#7f2b59',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b59;
$custom-light: #a76a87;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b59",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 327.143,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.12662,
    "h": 349.9
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#7F2B59
secondary
#58AE7F
accent
#D98D4F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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