#7F296C#7F296C

#7F296C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.142 H 337.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7F296C
RGBrgb(127, 41, 108)
HSLhsl(313, 51%, 33%)
HSVhsv(313, 68%, 50%)
CMYKcmyk(0%, 67.7%, 15%, 50.2%)
CIE-LABlab(32.22, 44.75, -19.99)
CIE-LCHlch(32.22, 49.01, 335.93°)
OKLaboklab(43.44% 0.1318 -0.0541)
OKLCHoklch(43.44% 0.142 337.7)
XYZxyz(12.2523, 7.1817, 14.9254)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F296C #297F3C
analogous
#67297F #7F296C #7F2941
triadic
#7F296C #6C7F29 #296C7F
tetradic
#7F296C #7F6729 #297F3C #29417F
square
#7F296C #7F6729 #297F3C #29417F
split-complementary
#7F296C #417F29 #297F67
monochromatic
#220B1D #511A45 #7F296C #AD3893 #C959B1

Accessibility & contrast

On white

8.62
#7F296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F296C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F296C#FFFFFF#000000##FFFFFF
##7F296C1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#47516A
Tritanopia (blue-blind)
#862D46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f296c;
/* rgb */ color: rgb(127, 41, 108);
/* oklch */ color: oklch(43.4% 0.142 337.7);
Tailwind
colors: {
  custom: {
    50: '#a76a96',
    500: '#7f296c',
    950: '#000000',
  },
}
SCSS
$custom: #7f296c;
$custom-light: #a76a96;
$custom-dark: #000000;
JSON
{
  "hex": "#7f296c",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 313.256,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.14245,
    "h": 337.7
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#7F296C
secondary
#55AF69
accent
#DB6C4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F296C

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

Preview Lab → · Contrast checker → · Palette generator →

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