#7F2C60#7F2C60

#7F2C60 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.129 H 345.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7F2C60
RGBrgb(127, 44, 96)
HSLhsl(322, 49%, 34%)
HSVhsv(322, 65%, 50%)
CMYKcmyk(0%, 65.4%, 24.4%, 50.2%)
CIE-LABlab(32.17, 41.57, -12.38)
CIE-LCHlch(32.17, 43.37, 343.42°)
OKLaboklab(43.22% 0.1252 -0.0328)
OKLCHoklch(43.22% 0.129 345.3)
XYZxyz(11.7648, 7.1591, 11.8263)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C60 #2C7F4B
analogous
#742C7F #7F2C60 #7F2C36
triadic
#7F2C60 #607F2C #2C607F
tetradic
#7F2C60 #7F742C #2C7F4B #2C367F
square
#7F2C60 #7F742C #2C7F4B #2C367F
split-complementary
#7F2C60 #367F2C #2C7F74
monochromatic
#240D1B #521C3E #7F2C60 #AC3C82 #C75EA0

Accessibility & contrast

On white

8.64
#7F2C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7F2C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C60
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C60#FFFFFF#000000##FFFFFF
##7F2C601.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344362
Deuteranopia (green-blind)
#4C515E
Tritanopia (blue-blind)
#872B42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2c60;
/* rgb */ color: rgb(127, 44, 96);
/* oklch */ color: oklch(43.2% 0.129 345.3);
Tailwind
colors: {
  custom: {
    50: '#a76b8d',
    500: '#7f2c60',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c60;
$custom-light: #a76b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c60",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 322.41,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43223,
    "c": 0.12941,
    "h": 345.3
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#7F2C60
secondary
#59AD79
accent
#D88350
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2C60

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

Preview Lab → · Contrast checker → · Palette generator →

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