#7F2B56#7F2B56

#7F2B56 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.125 H 352.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7F2B56
RGBrgb(127, 43, 86)
HSLhsl(329, 49%, 33%)
HSVhsv(329, 66%, 50%)
CMYKcmyk(0%, 66.1%, 32.3%, 50.2%)
CIE-LABlab(31.61, 40.63, -6.75)
CIE-LCHlch(31.61, 41.18, 350.56°)
OKLaboklab(42.68% 0.1237 -0.0174)
OKLCHoklch(42.68% 0.125 352)
XYZxyz(11.2965, 6.9129, 9.5417)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B56 #2B7F54
analogous
#7E2B7F #7F2B56 #7F2B2C
triadic
#7F2B56 #567F2B #2B567F
tetradic
#7F2B56 #7F7E2B #2B7F54 #2B2C7F
square
#7F2B56 #7F7E2B #2B7F54 #2B2C7F
split-complementary
#7F2B56 #2C7F2B #2B7F7E
monochromatic
#240C18 #511C37 #7F2B56 #AD3A75 #C85C93

Accessibility & contrast

On white

8.81
#7F2B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2B56
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B56#FFFFFF#000000##FFFFFF
##7F2B561.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2b56;
/* rgb */ color: rgb(127, 43, 86);
/* oklch */ color: oklch(42.7% 0.125 352.0);
Tailwind
colors: {
  custom: {
    50: '#a76a85',
    500: '#7f2b56',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b56;
$custom-light: #a76a85;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b56",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 329.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42683,
    "c": 0.12496,
    "h": 352
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#7F2B56
secondary
#58AE82
accent
#D9924F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7F2B56

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

Preview Lab → · Contrast checker → · Palette generator →

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