#7F2A64#7F2A64

#7F2A64 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.135 H 342.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7F2A64
RGBrgb(127, 42, 100)
HSLhsl(319, 50%, 33%)
HSVhsv(319, 67%, 50%)
CMYKcmyk(0%, 66.9%, 21.3%, 50.2%)
CIE-LABlab(32.01, 43.06, -15.19)
CIE-LCHlch(32.01, 45.67, 340.57°)
OKLaboklab(43.16% 0.1289 -0.0406)
OKLCHoklch(43.16% 0.135 342.5)
XYZxyz(11.8810, 7.0892, 12.7967)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A64 #2A7F45
analogous
#6F2A7F #7F2A64 #7F2A39
triadic
#7F2A64 #647F2A #2A647F
tetradic
#7F2A64 #7F6F2A #2A7F45 #2A397F
square
#7F2A64 #7F6F2A #2A7F45 #2A397F
split-complementary
#7F2A64 #397F2A #2A7F6F
monochromatic
#230C1C #511B40 #7F2A64 #AD3988 #C95BA6

Accessibility & contrast

On white

8.69
#7F2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A64
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A64#FFFFFF#000000##FFFFFF
##7F2A641.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314266
Deuteranopia (green-blind)
#4A5062
Tritanopia (blue-blind)
#872B43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2a64;
/* rgb */ color: rgb(127, 42, 100);
/* oklch */ color: oklch(43.2% 0.135 342.5);
Tailwind
colors: {
  custom: {
    50: '#a76a90',
    500: '#7f2a64',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a64;
$custom-light: #a76a90;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a64",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 319.059,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43164,
    "c": 0.13514,
    "h": 342.5
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#7F2A64
secondary
#57AE72
accent
#DA7A4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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