#7F164B#7F164B

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

Color values

HEX#7F164B
RGBrgb(127, 22, 75)
HSLhsl(330, 70%, 29%)
HSVhsv(330, 83%, 50%)
CMYKcmyk(0%, 82.7%, 40.9%, 50.2%)
CIE-LABlab(28.37, 47.22, -4.35)
CIE-LCHlch(28.37, 47.42, 354.73°)
OKLaboklab(40.17% 0.1453 -0.0109)
OKLCHoklch(40.17% 0.146 355.7)
XYZxyz(10.3100, 5.5952, 7.1923)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F164B #167F4A
analogous
#7F167F #7F164B #7F1617
triadic
#7F164B #4B7F16 #164B7F
tetradic
#7F164B #7F7F16 #167F4A #16177F
square
#7F164B #7F7F16 #167F4A #16177F
split-complementary
#7F164B #177F16 #167F7F
monochromatic
#1A050F #4B0D2C #7F164B #B31F6A #DC3489

Accessibility & contrast

On white

9.91
#7F164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F164B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F164B#FFFFFF#000000##FFFFFF
##7F164B1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#8A042F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f164b;
/* rgb */ color: rgb(127, 22, 75);
/* oklch */ color: oklch(40.2% 0.146 355.7);
Tailwind
colors: {
  custom: {
    50: '#a9607d',
    500: '#7f164b',
    950: '#000000',
  },
}
SCSS
$custom: #7f164b;
$custom-light: #a9607d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f164b",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 329.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40171,
    "c": 0.14569,
    "h": 355.7
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#7F164B
secondary
#3DB478
accent
#ED933B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F164B

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

Preview Lab → · Contrast checker → · Palette generator →

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