#7F2D64#7F2D64

#7F2D64 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.5% C 0.131 H 342.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7F2D64
RGBrgb(127, 45, 100)
HSLhsl(320, 48%, 34%)
HSVhsv(320, 65%, 50%)
CMYKcmyk(0%, 64.6%, 21.3%, 50.2%)
CIE-LABlab(32.50, 41.71, -14.44)
CIE-LCHlch(32.50, 44.14, 340.91°)
OKLaboklab(43.53% 0.1248 -0.0385)
OKLCHoklch(43.53% 0.131 342.8)
XYZxyz(11.9914, 7.3100, 12.8336)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D64 #2D7F48
analogous
#712D7F #7F2D64 #7F2D3B
triadic
#7F2D64 #647F2D #2D647F
tetradic
#7F2D64 #7F712D #2D7F48 #2D3B7F
square
#7F2D64 #7F712D #2D7F48 #2D3B7F
split-complementary
#7F2D64 #3B7F2D #2D7F71
monochromatic
#250D1D #521D40 #7F2D64 #AC3D88 #C760A5

Accessibility & contrast

On white

8.53
#7F2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7F2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D64
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D64#FFFFFF#000000##FFFFFF
##7F2D641.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344466
Deuteranopia (green-blind)
#4C5162
Tritanopia (blue-blind)
#872D44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2d64;
/* rgb */ color: rgb(127, 45, 100);
/* oklch */ color: oklch(43.5% 0.131 342.8);
Tailwind
colors: {
  custom: {
    50: '#a76b90',
    500: '#7f2d64',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d64;
$custom-light: #a76b90;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d64",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 319.756,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43526,
    "c": 0.13059,
    "h": 342.8
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#7F2D64
secondary
#5BAD76
accent
#D77D51
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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