#7F296D#7F296D

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

Color values

HEX#7F296D
RGBrgb(127, 41, 109)
HSLhsl(313, 51%, 33%)
HSVhsv(313, 68%, 50%)
CMYKcmyk(0%, 67.7%, 14.2%, 50.2%)
CIE-LABlab(32.26, 44.91, -20.55)
CIE-LCHlch(32.26, 49.39, 335.41°)
OKLaboklab(43.49% 0.1319 -0.0557)
OKLCHoklch(43.49% 0.143 337.1)
XYZxyz(12.3058, 7.2031, 15.2073)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F296D #297F3B
analogous
#66297F #7F296D #7F2942
triadic
#7F296D #6D7F29 #296D7F
tetradic
#7F296D #7F6629 #297F3B #29427F
square
#7F296D #7F6629 #297F3B #29427F
split-complementary
#7F296D #427F29 #297F66
monochromatic
#220B1E #511A45 #7F296D #AD3895 #C959B2

Accessibility & contrast

On white

8.61
#7F296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F296D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F296D#FFFFFF#000000##FFFFFF
##7F296D1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#47516B
Tritanopia (blue-blind)
#862D47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f296d;
/* rgb */ color: rgb(127, 41, 109);
/* oklch */ color: oklch(43.5% 0.143 337.1);
Tailwind
colors: {
  custom: {
    50: '#a76a97',
    500: '#7f296d',
    950: '#000000',
  },
}
SCSS
$custom: #7f296d;
$custom-light: #a76a97;
$custom-dark: #000000;
JSON
{
  "hex": "#7f296d",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 312.558,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43486,
    "c": 0.14322,
    "h": 337.1
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#7F296D
secondary
#55AF68
accent
#DB6B4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F296D

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

Preview Lab → · Contrast checker → · Palette generator →

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