#7F164C#7F164C

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

Color values

HEX#7F164C
RGBrgb(127, 22, 76)
HSLhsl(329, 70%, 29%)
HSVhsv(329, 83%, 50%)
CMYKcmyk(0%, 82.7%, 40.2%, 50.2%)
CIE-LABlab(28.40, 47.33, -4.96)
CIE-LCHlch(28.40, 47.59, 354.01°)
OKLaboklab(40.21% 0.1456 -0.0125)
OKLCHoklch(40.21% 0.146 355.1)
XYZxyz(10.3445, 5.6090, 7.3740)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F164C #167F49
analogous
#7E167F #7F164C #7F1617
triadic
#7F164C #4C7F16 #164C7F
tetradic
#7F164C #7F7E16 #167F49 #16177F
square
#7F164C #7F7E16 #167F49 #16177F
split-complementary
#7F164C #177F16 #167F7E
monochromatic
#1A0510 #4B0D2D #7F164C #B31F6B #DC348A

Accessibility & contrast

On white

9.90
#7F164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F164C
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F164C#FFFFFF#000000##FFFFFF
##7F164C1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#8A052F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f164c;
/* rgb */ color: rgb(127, 22, 76);
/* oklch */ color: oklch(40.2% 0.146 355.1);
Tailwind
colors: {
  custom: {
    50: '#a9607e',
    500: '#7f164c',
    950: '#000000',
  },
}
SCSS
$custom: #7f164c;
$custom-light: #a9607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f164c",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 329.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.14613,
    "h": 355.1
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#7F164C
secondary
#3DB477
accent
#ED913B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F164C

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

Preview Lab → · Contrast checker → · Palette generator →

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