#7F294E#7F294E

#7F294E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.124 H 357.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7F294E
RGBrgb(127, 41, 78)
HSLhsl(334, 51%, 33%)
HSVhsv(334, 68%, 50%)
CMYKcmyk(0%, 67.7%, 38.6%, 50.2%)
CIE-LABlab(30.99, 40.52, -2.44)
CIE-LCHlch(30.99, 40.59, 356.55°)
OKLaboklab(42.14% 0.1239 -0.0059)
OKLCHoklch(42.14% 0.124 357.3)
XYZxyz(10.9211, 6.6492, 7.9145)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F294E #297F5A
analogous
#7F2979 #7F294E #7F2F29
triadic
#7F294E #4E7F29 #294E7F
tetradic
#7F294E #797F29 #297F5A #2F297F
square
#7F294E #797F29 #297F5A #2F297F
split-complementary
#7F294E #297F2F #29797F
monochromatic
#220B15 #511A32 #7F294E #AD386A #C95989

Accessibility & contrast

On white

9.01
#7F294E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F294E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F294E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F294E#FFFFFF#000000##FFFFFF
##7F294E1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F4F
Deuteranopia (green-blind)
#504F4C
Tritanopia (blue-blind)
#892138
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f294e;
/* rgb */ color: rgb(127, 41, 78);
/* oklch */ color: oklch(42.1% 0.124 357.3);
Tailwind
colors: {
  custom: {
    50: '#a8697f',
    500: '#7f294e',
    950: '#000000',
  },
}
SCSS
$custom: #7f294e;
$custom-light: #a8697f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f294e",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 334.186,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42137,
    "c": 0.12406,
    "h": 357.3
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#7F294E
secondary
#55AF88
accent
#DB9E4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F294E

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

Preview Lab → · Contrast checker → · Palette generator →

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