#7F164E#7F164E

#7F164E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.147 H 353.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7F164E
RGBrgb(127, 22, 78)
HSLhsl(328, 70%, 29%)
HSVhsv(328, 83%, 50%)
CMYKcmyk(0%, 82.7%, 38.6%, 50.2%)
CIE-LABlab(28.48, 47.55, -6.18)
CIE-LCHlch(28.48, 47.95, 352.59°)
OKLaboklab(40.29% 0.1462 -0.0158)
OKLCHoklch(40.29% 0.147 353.8)
XYZxyz(10.4152, 5.6372, 7.7459)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F164E #167F47
analogous
#7C167F #7F164E #7F161A
triadic
#7F164E #4E7F16 #164E7F
tetradic
#7F164E #7F7C16 #167F47 #161A7F
square
#7F164E #7F7C16 #167F47 #161A7F
split-complementary
#7F164E #1A7F16 #167F7C
monochromatic
#1A0510 #4B0D2E #7F164E #B31F6E #DC348D

Accessibility & contrast

On white

9.87
#7F164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F164E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F164E#FFFFFF#000000##FFFFFF
##7F164E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#8A0730
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f164e;
/* rgb */ color: rgb(127, 22, 78);
/* oklch */ color: oklch(40.3% 0.147 353.8);
Tailwind
colors: {
  custom: {
    50: '#a9607f',
    500: '#7f164e',
    950: '#000000',
  },
}
SCSS
$custom: #7f164e;
$custom-light: #a9607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f164e",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 328,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40288,
    "c": 0.14705,
    "h": 353.8
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#7F164E
secondary
#3DB474
accent
#ED8E3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F164E

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

Preview Lab → · Contrast checker → · Palette generator →

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