#7F165F#7F165F

#7F165F is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.156 H 343.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7F165F
RGBrgb(127, 22, 95)
HSLhsl(318, 70%, 29%)
HSVhsv(318, 83%, 50%)
CMYKcmyk(0%, 82.7%, 25.2%, 50.2%)
CIE-LABlab(29.19, 49.64, -16.29)
CIE-LCHlch(29.19, 52.25, 341.83°)
OKLaboklab(41.04% 0.1502 -0.0436)
OKLCHoklch(41.04% 0.156 343.8)
XYZxyz(11.1053, 5.9133, 11.3808)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F165F #167F36
analogous
#6B167F #7F165F #7F162A
triadic
#7F165F #5F7F16 #165F7F
tetradic
#7F165F #7F6B16 #167F36 #162A7F
square
#7F165F #7F6B16 #167F36 #162A7F
split-complementary
#7F165F #2A7F16 #167F6B
monochromatic
#1A0514 #4B0D38 #7F165F #B31F86 #DC34A9

Accessibility & contrast

On white

9.62
#7F165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F165F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F165F#FFFFFF#000000##FFFFFF
##7F165F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A61
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#881539
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f165f;
/* rgb */ color: rgb(127, 22, 95);
/* oklch */ color: oklch(41.0% 0.156 343.8);
Tailwind
colors: {
  custom: {
    50: '#a8618c',
    500: '#7f165f',
    950: '#000000',
  },
}
SCSS
$custom: #7f165f;
$custom-light: #a8618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f165f",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 318.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4104,
    "c": 0.15641,
    "h": 343.8
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#7F165F
secondary
#3DB461
accent
#ED713B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F165F

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

Preview Lab → · Contrast checker → · Palette generator →

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