#7F296A#7F296A

#7F296A is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.141 H 338.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7F296A
RGBrgb(127, 41, 106)
HSLhsl(315, 51%, 33%)
HSVhsv(315, 68%, 50%)
CMYKcmyk(0%, 67.7%, 16.5%, 50.2%)
CIE-LABlab(32.12, 44.43, -18.86)
CIE-LCHlch(32.12, 48.27, 337.00°)
OKLaboklab(43.34% 0.1314 -0.0509)
OKLCHoklch(43.34% 0.141 338.8)
XYZxyz(12.1471, 7.1396, 14.3712)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F296A #297F3E
analogous
#69297F #7F296A #7F293F
triadic
#7F296A #6A7F29 #296A7F
tetradic
#7F296A #7F6929 #297F3E #293F7F
square
#7F296A #7F6929 #297F3E #293F7F
split-complementary
#7F296A #3F7F29 #297F69
monochromatic
#220B1D #511A43 #7F296A #AD3891 #C959AE

Accessibility & contrast

On white

8.65
#7F296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7F296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F296A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F296A#FFFFFF#000000##FFFFFF
##7F296A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#485068
Tritanopia (blue-blind)
#862C45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f296a;
/* rgb */ color: rgb(127, 41, 106);
/* oklch */ color: oklch(43.3% 0.141 338.8);
Tailwind
colors: {
  custom: {
    50: '#a76a94',
    500: '#7f296a',
    950: '#000000',
  },
}
SCSS
$custom: #7f296a;
$custom-light: #a76a94;
$custom-dark: #000000;
JSON
{
  "hex": "#7f296a",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 314.651,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.14094,
    "h": 338.8
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#7F296A
secondary
#55AF6B
accent
#DB704D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F296A

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

Preview Lab → · Contrast checker → · Palette generator →

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