#7F296E#7F296E

#7F296E is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.144 H 336.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7F296E
RGBrgb(127, 41, 110)
HSLhsl(312, 51%, 33%)
HSVhsv(312, 68%, 50%)
CMYKcmyk(0%, 67.7%, 13.4%, 50.2%)
CIE-LABlab(32.31, 45.07, -21.11)
CIE-LCHlch(32.31, 49.77, 334.90°)
OKLaboklab(43.54% 0.1321 -0.0573)
OKLCHoklch(43.54% 0.144 336.5)
XYZxyz(12.3600, 7.2247, 15.4924)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F296E #297F3A
analogous
#65297F #7F296E #7F2943
triadic
#7F296E #6E7F29 #296E7F
tetradic
#7F296E #7F6529 #297F3A #29437F
square
#7F296E #7F6529 #297F3A #29437F
split-complementary
#7F296E #437F29 #297F65
monochromatic
#220B1E #511A46 #7F296E #AD3896 #C959B3

Accessibility & contrast

On white

8.59
#7F296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F296E
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F296E#FFFFFF#000000##FFFFFF
##7F296E1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4470
Deuteranopia (green-blind)
#46516C
Tritanopia (blue-blind)
#862E47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f296e;
/* rgb */ color: rgb(127, 41, 110);
/* oklch */ color: oklch(43.5% 0.144 336.5);
Tailwind
colors: {
  custom: {
    50: '#a76a98',
    500: '#7f296e',
    950: '#000000',
  },
}
SCSS
$custom: #7f296e;
$custom-light: #a76a98;
$custom-dark: #000000;
JSON
{
  "hex": "#7f296e",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 311.86,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43537,
    "c": 0.14399,
    "h": 336.5
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#7F296E
secondary
#55AF67
accent
#DB694D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F296E

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

Preview Lab → · Contrast checker → · Palette generator →

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