#7F296B#7F296B

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

Color values

HEX#7F296B
RGBrgb(127, 41, 107)
HSLhsl(314, 51%, 33%)
HSVhsv(314, 68%, 50%)
CMYKcmyk(0%, 67.7%, 15.7%, 50.2%)
CIE-LABlab(32.17, 44.59, -19.43)
CIE-LCHlch(32.17, 48.63, 336.46°)
OKLaboklab(43.39% 0.1316 -0.0525)
OKLCHoklch(43.39% 0.142 338.2)
XYZxyz(12.1994, 7.1605, 14.6467)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F296B #297F3D
analogous
#68297F #7F296B #7F2940
triadic
#7F296B #6B7F29 #296B7F
tetradic
#7F296B #7F6829 #297F3D #29407F
square
#7F296B #7F6829 #297F3D #29407F
split-complementary
#7F296B #407F29 #297F68
monochromatic
#220B1D #511A44 #7F296B #AD3892 #C959AF

Accessibility & contrast

On white

8.64
#7F296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F296B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F296B#FFFFFF#000000##FFFFFF
##7F296B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436D
Deuteranopia (green-blind)
#475169
Tritanopia (blue-blind)
#862C46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f296b;
/* rgb */ color: rgb(127, 41, 107);
/* oklch */ color: oklch(43.4% 0.142 338.2);
Tailwind
colors: {
  custom: {
    50: '#a76a95',
    500: '#7f296b',
    950: '#000000',
  },
}
SCSS
$custom: #7f296b;
$custom-light: #a76a95;
$custom-dark: #000000;
JSON
{
  "hex": "#7f296b",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 313.953,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43385,
    "c": 0.14169,
    "h": 338.2
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#7F296B
secondary
#55AF6A
accent
#DB6E4D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F296B

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

Preview Lab → · Contrast checker → · Palette generator →

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