#7F164A#7F164A

#7F164A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.145 H 356.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7F164A
RGBrgb(127, 22, 74)
HSLhsl(330, 70%, 29%)
HSVhsv(330, 83%, 50%)
CMYKcmyk(0%, 82.7%, 41.7%, 50.2%)
CIE-LABlab(28.33, 47.11, -3.74)
CIE-LCHlch(28.33, 47.26, 355.46°)
OKLaboklab(40.13% 0.145 -0.0092)
OKLCHoklch(40.13% 0.145 356.4)
XYZxyz(10.2761, 5.5816, 7.0135)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F164A #167F4B
analogous
#7F167F #7F164A #7F1716
triadic
#7F164A #4A7F16 #164A7F
tetradic
#7F164A #7F7F16 #167F4B #17167F
square
#7F164A #7F7F16 #167F4B #17167F
split-complementary
#7F164A #167F17 #167F7F
monochromatic
#1A050F #4B0D2C #7F164A #B31F68 #DC3487

Accessibility & contrast

On white

9.92
#7F164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F164A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F164A#FFFFFF#000000##FFFFFF
##7F164A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364B
Deuteranopia (green-blind)
#4A4A48
Tritanopia (blue-blind)
#8A032E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f164a;
/* rgb */ color: rgb(127, 22, 74);
/* oklch */ color: oklch(40.1% 0.145 356.4);
Tailwind
colors: {
  custom: {
    50: '#a9607c',
    500: '#7f164a',
    950: '#000000',
  },
}
SCSS
$custom: #7f164a;
$custom-light: #a9607c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f164a",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 330.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40133,
    "c": 0.14526,
    "h": 356.4
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#7F164A
secondary
#3DB479
accent
#ED953B
background
#FAF6F7
surface
#F5EBEE
border
#CFC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F164A

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

Preview Lab → · Contrast checker → · Palette generator →

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