#7F165C#7F165C

#7F165C is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.155 H 345.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7F165C
RGBrgb(127, 22, 92)
HSLhsl(320, 70%, 29%)
HSVhsv(320, 83%, 50%)
CMYKcmyk(0%, 82.7%, 27.6%, 50.2%)
CIE-LABlab(29.06, 49.25, -14.54)
CIE-LCHlch(29.06, 51.35, 343.55°)
OKLaboklab(40.9% 0.1497 -0.0387)
OKLCHoklch(40.9% 0.155 345.5)
XYZxyz(10.9716, 5.8598, 10.6764)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F165C #167F39
analogous
#6E167F #7F165C #7F1628
triadic
#7F165C #5C7F16 #165C7F
tetradic
#7F165C #7F6E16 #167F39 #16287F
square
#7F165C #7F6E16 #167F39 #16287F
split-complementary
#7F165C #287F16 #167F6E
monochromatic
#1A0513 #4B0D36 #7F165C #B31F82 #DC34A4

Accessibility & contrast

On white

9.67
#7F165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F165C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F165C#FFFFFF#000000##FFFFFF
##7F165C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395E
Deuteranopia (green-blind)
#464B5A
Tritanopia (blue-blind)
#881338
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f165c;
/* rgb */ color: rgb(127, 22, 92);
/* oklch */ color: oklch(40.9% 0.155 345.5);
Tailwind
colors: {
  custom: {
    50: '#a8618a',
    500: '#7f165c',
    950: '#000000',
  },
}
SCSS
$custom: #7f165c;
$custom-light: #a8618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f165c",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 320,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40896,
    "c": 0.15457,
    "h": 345.5
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#7F165C
secondary
#3DB465
accent
#ED763B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F165C

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

Preview Lab → · Contrast checker → · Palette generator →

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