#7F164F#7F164F

#7F164F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.148 H 353.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7F164F
RGBrgb(127, 22, 79)
HSLhsl(327, 70%, 29%)
HSVhsv(327, 83%, 50%)
CMYKcmyk(0%, 82.7%, 37.8%, 50.2%)
CIE-LABlab(28.52, 47.66, -6.79)
CIE-LCHlch(28.52, 48.14, 351.89°)
OKLaboklab(40.33% 0.1465 -0.0174)
OKLCHoklch(40.33% 0.148 353.2)
XYZxyz(10.4513, 5.6517, 7.9361)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F164F #167F46
analogous
#7B167F #7F164F #7F161A
triadic
#7F164F #4F7F16 #164F7F
tetradic
#7F164F #7F7B16 #167F46 #161A7F
square
#7F164F #7F7B16 #167F46 #161A7F
split-complementary
#7F164F #1A7F16 #167F7B
monochromatic
#1A0510 #4B0D2F #7F164F #B31F6F #DC348F

Accessibility & contrast

On white

9.86
#7F164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F164F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F164F#FFFFFF#000000##FFFFFF
##7F164F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#890831
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f164f;
/* rgb */ color: rgb(127, 22, 79);
/* oklch */ color: oklch(40.3% 0.148 353.2);
Tailwind
colors: {
  custom: {
    50: '#a96080',
    500: '#7f164f',
    950: '#000000',
  },
}
SCSS
$custom: #7f164f;
$custom-light: #a96080;
$custom-dark: #000000;
JSON
{
  "hex": "#7f164f",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 327.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.14752,
    "h": 353.2
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#7F164F
secondary
#3DB473
accent
#ED8C3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F164F

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

Preview Lab → · Contrast checker → · Palette generator →

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