#7F296F#7F296F

#7F296F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.145 H 336.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7F296F
RGBrgb(127, 41, 111)
HSLhsl(311, 51%, 33%)
HSVhsv(311, 68%, 50%)
CMYKcmyk(0%, 67.7%, 12.6%, 50.2%)
CIE-LABlab(32.36, 45.23, -21.67)
CIE-LCHlch(32.36, 50.16, 334.40°)
OKLaboklab(43.59% 0.1322 -0.0589)
OKLCHoklch(43.59% 0.145 336)
XYZxyz(12.4147, 7.2466, 15.7807)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F296F #297F39
analogous
#64297F #7F296F #7F2944
triadic
#7F296F #6F7F29 #296F7F
tetradic
#7F296F #7F6429 #297F39 #29447F
square
#7F296F #7F6429 #297F39 #29447F
split-complementary
#7F296F #447F29 #297F64
monochromatic
#220B1E #511A47 #7F296F #AD3897 #C959B4

Accessibility & contrast

On white

8.57
#7F296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F296F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F296F#FFFFFF#000000##FFFFFF
##7F296F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4471
Deuteranopia (green-blind)
#46516D
Tritanopia (blue-blind)
#852E48
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f296f;
/* rgb */ color: rgb(127, 41, 111);
/* oklch */ color: oklch(43.6% 0.145 336.0);
Tailwind
colors: {
  custom: {
    50: '#a76a98',
    500: '#7f296f',
    950: '#000000',
  },
}
SCSS
$custom: #7f296f;
$custom-light: #a76a98;
$custom-dark: #000000;
JSON
{
  "hex": "#7f296f",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 311.163,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.14477,
    "h": 336
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#7F296F
secondary
#55AF66
accent
#DB674D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F296F

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

Preview Lab → · Contrast checker → · Palette generator →

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