#7F164D#7F164D

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

Color values

HEX#7F164D
RGBrgb(127, 22, 77)
HSLhsl(329, 70%, 29%)
HSVhsv(329, 83%, 50%)
CMYKcmyk(0%, 82.7%, 39.4%, 50.2%)
CIE-LABlab(28.44, 47.44, -5.58)
CIE-LCHlch(28.44, 47.76, 353.30°)
OKLaboklab(40.25% 0.1459 -0.0141)
OKLCHoklch(40.25% 0.147 354.5)
XYZxyz(10.3796, 5.6230, 7.5585)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F164D #167F48
analogous
#7D167F #7F164D #7F1619
triadic
#7F164D #4D7F16 #164D7F
tetradic
#7F164D #7F7D16 #167F48 #16197F
square
#7F164D #7F7D16 #167F48 #16197F
split-complementary
#7F164D #197F16 #167F7D
monochromatic
#1A0510 #4B0D2D #7F164D #B31F6D #DC348C

Accessibility & contrast

On white

9.89
#7F164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F164D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F164D#FFFFFF#000000##FFFFFF
##7F164D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#8A0630
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f164d;
/* rgb */ color: rgb(127, 22, 77);
/* oklch */ color: oklch(40.2% 0.147 354.5);
Tailwind
colors: {
  custom: {
    50: '#a9607e',
    500: '#7f164d',
    950: '#000000',
  },
}
SCSS
$custom: #7f164d;
$custom-light: #a9607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f164d",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 328.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.14658,
    "h": 354.5
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#7F164D
secondary
#3DB476
accent
#ED903B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F164D

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

Preview Lab → · Contrast checker → · Palette generator →

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