#7F2C64#7F2C64

#7F2C64 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.132 H 342.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7F2C64
RGBrgb(127, 44, 100)
HSLhsl(320, 49%, 34%)
HSVhsv(320, 65%, 50%)
CMYKcmyk(0%, 65.4%, 21.3%, 50.2%)
CIE-LABlab(32.34, 42.17, -14.69)
CIE-LCHlch(32.34, 44.65, 340.79°)
OKLaboklab(43.4% 0.1262 -0.0393)
OKLCHoklch(43.4% 0.132 342.7)
XYZxyz(11.9537, 7.2346, 12.8210)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C64 #2C7F47
analogous
#702C7F #7F2C64 #7F2C3A
triadic
#7F2C64 #647F2C #2C647F
tetradic
#7F2C64 #7F702C #2C7F47 #2C3A7F
square
#7F2C64 #7F702C #2C7F47 #2C3A7F
split-complementary
#7F2C64 #3A7F2C #2C7F70
monochromatic
#240D1C #521C40 #7F2C64 #AC3C88 #C75EA5

Accessibility & contrast

On white

8.58
#7F2C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F2C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C64
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C64#FFFFFF#000000##FFFFFF
##7F2C641.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334366
Deuteranopia (green-blind)
#4B5162
Tritanopia (blue-blind)
#872C44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2c64;
/* rgb */ color: rgb(127, 44, 100);
/* oklch */ color: oklch(43.4% 0.132 342.7);
Tailwind
colors: {
  custom: {
    50: '#a76b90',
    500: '#7f2c64',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c64;
$custom-light: #a76b90;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c64",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 319.518,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.13213,
    "h": 342.7
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#7F2C64
secondary
#59AD75
accent
#D87C50
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2C64

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

Preview Lab → · Contrast checker → · Palette generator →

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